• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIPageViewController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >UIPageViewController (From: koko <email@hidden>)
 >Re: UIPageViewController (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: view gets drawRect called when scrolling into elastic area
  • Next by Date: Re: Causes of "Cannot update object that was never inserted"
  • Previous by thread: Re: UIPageViewController
  • Next by thread: core data lightweight migration woes
  • Index(es):
    • Date
    • Thread