Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sliding Tab Layout in iOS app developed in Swift

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?

like image 284
bably Avatar asked Oct 01 '15 11:10

bably


1 Answers

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.

like image 175
AaoIi Avatar answered Nov 20 '22 18:11

AaoIi