Search code examples
iosuitableviewfooter

How to create a "footer section" in UItableview


I know the "footer section" sounds really weird. Let me explain.

When you login to anyone social network app, there would be some sections on the bottom like "News Feed" "Requests" "Friends" and you can select each to go to different section.

Can anyone tell me how to create these sections in a UItableviewcontroller? or what I need is a NavigationController or something?


Solution

  • There is no one particular way to achieve that UI. But, most common way you can do it is by using UITabBarController as the root or initial view controller and each tab can point to UINavigationViewController or UIViewController. If you do it in storyboard it will be easier to understand at first. Hope this helps!