# How to assign title to Empty view in SBUgroupchannel in iOS from customviewcontroller

**URL:** <https://community.sendbird.com/t/how-to-assign-title-to-empty-view-in-sbugroupchannel-in-ios-from-customviewcontroller/5541>\
**Category:** iOS\
**Tags:** ios, uikit\
**Created:** [September 8, 2022, 3:43am UTC](https://community.sendbird.com/t/how-to-assign-title-to-empty-view-in-sbugroupchannel-in-ios-from-customviewcontroller/5541 "2022-09-08T03:43:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepkumar1992](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@Deepkumar1992](https://community.sendbird.com/u/Deepkumar1992)\
**Post date:** [September 8, 2022, 3:43am UTC](https://community.sendbird.com/t/how-to-assign-title-to-empty-view-in-sbugroupchannel-in-ios-from-customviewcontroller/5541/1 "2022-09-08T03:43:02Z")

</div>

Please state the version of UIKit & OS you are using when creating a topic  
and select the related tags

We are using sendbird iOS 3.0 version.

I want to assign text to empty view in SBUGroupChannelListViewController.

Am trying to assign the text like below but its not overriding text.

 ![Screenshot 2022-09-08 at 9.10.19 AM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/3/3a241bea44bc83e9dc9e54069e5a3cdf23ddbb44.png)

**class** ListComponent: SBUGroupChannelModule.List {

**override**  **func** setupViews() {

**super**.setupViews()

**self**.emptyView = EmptyView()

**self**.emptyView?.isHidden = **true**

}

}

class EmptyView: SBUEmptyView {  
override func setupViews() {  
super.setupViews()  
self.statusLabel.text = “no”  
self.statusLabel.isHidden = true  
}

```
override func updateViews() {
    super.updateViews()
    self.statusLabel.text = "no"
}

```

}

```
func lanuchChatScreenInSDK() {
    self.stopActivityAnimation()
    let (leftButton, rightButton) = self.createButtons()
    let mainVC = SBUGroupChannelListViewController()
    mainVC.headerComponent?.leftBarButton = leftButton
    mainVC.headerComponent?.rightBarButton = rightButton
    SBUModuleSet.groupChannelModule.inputComponent = InputComponent()
    SBUModuleSet.groupChannelModule.headerComponent = HeaderComponent()
    SBUModuleSet.groupChannelModule.listComponent? = ListComponent()
    mainVC.headerComponent?.titleView = SendBirdNavigationView()
    self.navigationController?.modalPresentationStyle = .fullScreen
    UIApplication.topViewController()?.navigationController?.pushViewController(mainVC, animated: true)
}

```
