开发者

UIPageControl in Landscape Orientation

I've gone through the Apple's Sample Code using UIPageControl and ScrollView togther. I've created the same using viewControllers instead of Views. Now when i change the orientation from Potrait to LandScape, the ScrollView changes its orientation but UIPageControl remain in sam开发者_StackOverflowe position :( and instead of changing page in horizontal Swipe,it changes the page in the Vertical swipe

I want the UIPageControl to change page on horizontal swipe and in LandScape mode.

is it possible??? :(


I got it now... :)

The UIPageControl app uses window.xib, I created a new app with the same code applied on the UIViewController and it worked..

Also dun forget to turn vertical bounce property to "NO", to make it slide horizontally..

:)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜