> For the complete documentation index, see [llms.txt](https://docs.taptalk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taptalk.io/powertalk-chat-sdk-documentation/powertalk-ios/room-list/room-list-tapui.md).

# Room List - TapUI

If you are using UI implementation type, you can use the method below to open TapTalk.io's chat room list view.

{% tabs %}
{% tab title="Objective-C" %}

```csharp
#import <TapTalk/TapUIRoomListViewController.h>
#import <TapTalk/TapUI.h>

// Initialize TapTalk.io room list view controller here
TapUIRoomListViewController *roomListViewController = [[TapUI sharedInstance] roomListViewController]; 
UINavigationController *roomListNavigationController = [[UINavigationController alloc] initWithRootViewController:roomListViewController];
  
// You can choose to present or push view controller using this code
// Present room list view
[self presentViewController:roomListViewController animated:YES completion:^{
    //completion
}];
  
//  Push room list view
[self.navigationController pushViewController:roomListNavigationController animated:YES]; 
  
//Or you can add to your window root view controller
self.window.rootViewController = roomListNavigationController;
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Note:** You can get TapTalk.io current view controller or navigation controller to integrate to your current view controller by using [getCurrentTapTalkActiveViewController](/powertalk-chat-sdk-documentation/powertalk-ios/general.md#obtain-current-navigation-controller-in-tapui) method.
{% endhint %}

### Room List View Controller Lifecycle

If you need to do something in `TapUIRoomListViewController` view lifecycle, you can implement our `TapUIRoomListViewControllerLifecycleDelegate` in [Event Delegate - Room List Lifecycle Delegate](/powertalk-chat-sdk-documentation/powertalk-ios/event-delegate.md#tapuiroomlistviewcontrollerlifecycledelegate) section.<br>
