6

I am developing an iOS app in Swift with the latest Xcode - Xcode 7 and would like to implement the "Sliding tab layout" feature available for Android apps.

I have seen some iOS apps as well which have Sliding Tab Layout.

How can I create a sliding tab layout in my iOS app?

Cœur
  • 37,241
  • 25
  • 195
  • 267
bably
  • 1,065
  • 5
  • 17
  • 27
  • Do you mean sliding menu or view pager but for iOS ? @bably – AaoIi Oct 01 '15 at 12:11
  • @Aaoli, I am looking for View Pager with Sliding tabs. I just found this link - https://github.com/lucoceano/Pager . Let me try and see if I can customise it. Thanks. – bably Oct 01 '15 at 12:24

1 Answers1

13

Alright , there exist library called PagingMenuController on github helps you to go throw this and build what you want by this link : https://github.com/kitasuke/PagingMenuController. Or you may use the library you have found for that. as i said just download their project and see how it works, Then import it into your project.

You may download their library which is written by Swift and support Swift 2 and IOS8+.

Note: Try follow user experience and what i mean here IOS is different than android, i suggest you build UITabbar instead of this. as example : WhatsApp on android uses view pager but on iPhone uses UITabbar.

AaoIi
  • 8,288
  • 6
  • 45
  • 87
  • Thanks. I have tried and this library PagingMenuController is working as per my requirements. – bably Oct 03 '15 at 07:48