Re: UIPageViewController page index woes

2013-09-28 Thread Noah Desch
So apparently the page control is entirely transparent by default. Try adding this to your app delegate's didFinishLaunching... method: UIPageControl * pageControl = [UIPageControl appearance]; pageControl.pageIndicatorTintColor = [UIColor lightGrayColor]; pageControl.currentPageIndicatorTintCol

Re: UIPageViewController page index woes

2013-09-26 Thread Noah Desch
I'm having the same issue. When I dive into the view hierarchy in the debugger I see the page control inside the UIPageViewController's view, but it's frame is {0,0,0,0}. Noah Desch > On Sep 25, 2013, at 7:11 PM, Rick Mann wrote: > > >> On Sep 25, 2013, at 15:27 , Daniel Höpfl wrote: >> >

Re: UIPageViewController page index woes

2013-09-25 Thread Rick Mann
On Sep 25, 2013, at 15:27 , Daniel Höpfl wrote: > On 25.09.2013 03:25, Rick Mann wrote: >> Any ideas? The example code doesn't use the page index. > > Did you set the transition style to > UIPageViewControllerTransitionStyleScroll? Yup :-) -- Rick _

Re: UIPageViewController page index woes

2013-09-25 Thread Daniel Höpfl
Hi, On 25.09.2013 03:25, Rick Mann wrote: > I've implemented the two page index methods in the dataSource, but > I'm not getting a page indicator. Where does it appear, near the > bottom? I see my methods are being called. > > I also don't know how to determine the current page index. > -presenta

UIPageViewController page index woes

2013-09-24 Thread Rick Mann
I've implemented the two page index methods in the dataSource, but I'm not getting a page indicator. Where does it appear, near the bottom? I see my methods are being called. I also don't know how to determine the current page index. -presentationIndexForPageViewController: should return an NSI