-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 8 - Page control and title not updating ? #8
Comments
in demo not work? |
Yes - This line is creating problem - [twitterPaggingViewer setCurrentPage:2 animated:NO]; But i need to select the middle page automatically ? And Some times its crashing also - Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 18]' |
Where are you calling -setCurrentPage:animated? So, in your app delegate @interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) XHTwitterPaggingViewer *paging;
@end then on the first view controller that gets loaded by XHTwitterPaggingViewer - (void)viewDidLoad {
[super viewDidLoad];
self.appDelegate = [UIApplication sharedApplication].delegate;
[self.appDelegate.paging setCurrentPage:1 animated:NO];
} This is working for me at least. |
@clockworx132 |
I have encountered the same issue, i needed to show the second page initially. yes, it is showing my second page, but the navigation title and the page index does not update anymore. |
How can i fix to work on iOS 8 ?
The text was updated successfully, but these errors were encountered: