# iOS: How can we expand the Navigation Bar in Chat to add extra content or add sticky bar in Chat

**URL:** <https://community.sendbird.com/t/ios-how-can-we-expand-the-navigation-bar-in-chat-to-add-extra-content-or-add-sticky-bar-in-chat/5739>\
**Category:** Sendbird Chat UIKit\
**Tags:** feature-request, ios, uikit, question\
**Created:** [October 11, 2022, 8:58am UTC](https://community.sendbird.com/t/ios-how-can-we-expand-the-navigation-bar-in-chat-to-add-extra-content-or-add-sticky-bar-in-chat/5739 "2022-10-11T08:58:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NerdyYawdie](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nerdyyawdie/32/3163_2.png) [@NerdyYawdie](https://community.sendbird.com/u/NerdyYawdie)\
**Post date:** [October 11, 2022, 8:58am UTC](https://community.sendbird.com/t/ios-how-can-we-expand-the-navigation-bar-in-chat-to-add-extra-content-or-add-sticky-bar-in-chat/5739/1 "2022-10-11T08:58:23Z")

</div>

How can we get this design on iOS, where it seems we have a larger navigation bar or somewhat of a sticky bar inside the opened groupChannel(at the top always below navbar)

here is pic with example of what im trying to recreate for the navigation bar(notice the `32 participants ` also in the navbar

If I can’t expand the navbar to make it longer, is there a way to add a sticky bar right under the navbar?

I tried `preferLargeTitles` to increase the navbar size but this didn’t work either

 ![Screen Shot 2022-10-11 at 4.55.27 AM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/6/63d0fd4000490b646bb09522d5589da016b40b85.jpeg)

---

<div class="post-metadata">

**Author:** ![nleitman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nleitman/32/51_2.png) [@nleitman](https://community.sendbird.com/u/nleitman)\
**Post date:** [October 12, 2022, 2:38pm UTC](https://community.sendbird.com/t/ios-how-can-we-expand-the-navigation-bar-in-chat-to-add-extra-content-or-add-sticky-bar-in-chat/5739/2 "2022-10-12T14:38:29Z")

</div>

Hi @NerdyYawdie, someone from our engineering team will respond to your post soon.

---

<div class="post-metadata">

**Author:** ![Tez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tez/32/146_2.png) [@Tez](https://community.sendbird.com/u/Tez)\
**Post date:** [October 13, 2022, 3:34pm UTC](https://community.sendbird.com/t/ios-how-can-we-expand-the-navigation-bar-in-chat-to-add-extra-content-or-add-sticky-bar-in-chat/5739/3 "2022-10-13T15:34:23Z")

</div>

Hello @NerdyYawdie,

I just checked your issue.  
unfortunately, UIKIT has not yet officially provided largeTitle funtion of navigationBar.  
but, you can customize it if necessary.  
please refer to the snippet below.

```auto
class CustomGroupChannelViewController: SBUGroupChannelViewController {
    override func setupViews() {
        super.setupViews()
        
        self.navigationController?.navigationBar.prefersLargeTitles = true
    }

    open override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        
        self.navigationController?.navigationBar.prefersLargeTitles = false
    }
    
    override func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateTitleView titleView: UIView?) {
        // After the `titleView` is set in the header component of the module,
        // if you required for control in the `viewController`, you can handle `titleView` in here .
    }
}

// Register your `CustomGroupChannelViewController` to `SBUViewControllerSet`
SBUViewControllerSet.GroupChannelViewController = CustomGroupChannelViewController.self

```

```auto
class CustomGroupChannelModuleHeader: SBUGroupChannelModule.Header {
    override func setupViews() {
        super.setupViews()
        
        self.titleView = {YOUR_CUSTOMIZED_TITLEVIEW}
    }
}

// Register your `CustomGroupChannelModuleHeader` to `SBUModuleSet`
SBUModuleSet.groupChannelModule.headerComponent = CustomGroupChannelModuleHeader()

```
