Search code examples
ioscocoauiscrollviewpagecontrol

PageControl with multiple xib's?


I'm having trouble with getting Page Control set up with multiple xib's. I searched on Stack on the internet for a while now but all I've been getting is getting Page Control set up with an Array with colors or images. Is it possible to get a UIScrollView with PageControl for multiple View Controllers? I'm thinking that I should use (initwithNibName: method), but I'm not sure on how to set it up with the scrollview. Any help would be greatly appreciated, thanks.


Solution

  • Yes, it is possible. Check this very useful library out. It's an iPhone UIScrollView with horizontal paging like mobile Safari tabs HGPageScrollView. It works pretty great in our app.

    GitHub HGPageScrollView.

    [UPDATE]

    Here's another example. Check this link.