# SBUChannelListViewController presents channel in a popup in complex view hierarchy

**URL:** <https://community.sendbird.com/t/sbuchannellistviewcontroller-presents-channel-in-a-popup-in-complex-view-hierarchy/3513>\
**Category:** iOS\
**Created:** [December 8, 2021, 1:26pm UTC](https://community.sendbird.com/t/sbuchannellistviewcontroller-presents-channel-in-a-popup-in-complex-view-hierarchy/3513 "2021-12-08T13:26:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pzmudzinski](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pzmudzinski](https://community.sendbird.com/u/pzmudzinski)\
**Post date:** [December 8, 2021, 1:26pm UTC](https://community.sendbird.com/t/sbuchannellistviewcontroller-presents-channel-in-a-popup-in-complex-view-hierarchy/3513/1 "2021-12-08T13:26:57Z")

</div>

I believe this is because of code [here](https://github.com/sendbird/sendbird-uikit-ios/blob/9e7445970838a2648b90e32abb4160b3e5780157/Sources/SBUMain.swift#L431).

It won’t work for complex hierarchies like `UIViewController` inside `UINavigationController` inside `UITabBarController` inside `UINavigationController`.  
Is there any workaround for that, e.g. manually provide `UINavigationController` which should be used for navigation?

Our exact use case is:  
`UINavigationController -> UIViewController -> UITabBarController -> UINavigationController -> SBUChannelListViewController`

We are on version `2.1.13`.

---

<div class="post-metadata">

**Author:** ![pzmudzinski](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pzmudzinski](https://community.sendbird.com/u/pzmudzinski)\
**Post date:** [December 13, 2021, 12:53pm UTC](https://community.sendbird.com/t/sbuchannellistviewcontroller-presents-channel-in-a-popup-in-complex-view-hierarchy/3513/2 "2021-12-13T12:53:25Z")

</div>

Guys, any update on this? It causes really weird UX on our side since they see channel list, then create a new one then see channel list **again** in a modal which immediately pushes messaging page.

---

<div class="post-metadata">

**Author:** ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)\
**Post date:** [February 3, 2022, 4:45pm UTC](https://community.sendbird.com/t/sbuchannellistviewcontroller-presents-channel-in-a-popup-in-complex-view-hierarchy/3513/3 "2022-02-03T16:45:12Z")

</div>

@pzmudzinski Thanks for your patient!

I will let our UIKit team know and see if theres work around to fix your situation.
