Re: UIPageViewController
Re: UIPageViewController
- Subject: Re: UIPageViewController
- From: koko <email@hidden>
- Date: Mon, 17 Jun 2013 13:18:59 -0600
On Jun 17, 2013, at 12:33 PM, Laurent Daudelin <email@hidden> wrote:
> Are you using a navigation controller? Based on your description, I think you should.
I have done the following:
UIPageViewController *pageViewController = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStylePageCurl navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:nil];
pageViewController.dataSource = self;
NSArray *viewControllers = [NSArray arrayWithObject:[self.detailPages objectAtIndex:0]];
[pageViewController setViewControllers:viewControllers
direction:UIPageViewControllerNavigationDirectionForward
animated:NO
completion:nil];
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:self.detailViewController];
[nc pushViewController:pageViewController animated:YES];
andI get no display … what fundamental am I missing?
-koko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden