Looking for some guidance.
In my main window nib file, i have a tab controller where each tab control item is being loaded by a separate nib file and controller. One of the tab items is being loaded by a navigation controller.
Looks like this (excuse me for not including screenshot)
- MainWindow.xib
- Windows
- UITabBarController
- UITabBar
- UINavigationController (loaded from Test.xib file)
- TabBar Item
- Test.xib
- View
Now I like to add a scrollable text in the Test.xib. So that when the user clicks on the tab item, my Test view opens up with some text that the user can scroll.
Do I need to add a UITextView as a child of my View in Test.xib ?
Do I need to add a UIScrollableView ? And how would I connect them all so that I can manage the text.
If you add an
UITextViewto your view, connect it to a proper Outlet in your controller, than you can manipulate the text withsetText:. The scrolling behaviour is added automatically.