We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following code is working but there is no NavigationBar
promoGallery* gallery = [[promoGallery alloc] init]; gallery.imageArray = self.fullImageArray; FGalleryViewController* pVC = [[FGalleryViewController alloc] initWithPhotoSource:gallery]; pVC.currentIndex = btn.tag; [self presentModalViewController:pVC animated:YES];
So, I put navigation controller like below and it crash
promoGallery* gallery = [[promoGallery alloc] init]; gallery.imageArray = self.fullImageArray; FGalleryViewController* pVC = [[FGalleryViewController alloc] initWithPhotoSource:gallery]; pVC.currentIndex = btn.tag; UINavigationController* navController = [[UINavigationController alloc] initWithRootViewController:pVC]; [self presentModalViewController:navController animated:YES];
I check the code and it's problem in
- (void)updateScrollSize { float contentWidth = _scroller.frame.size.width * [_photoSource numberOfPhotosForPhotoGallery:self]; [_scroller setContentSize:CGSizeMake(contentWidth, _scroller.frame.size.height)]; }
there is no _photoSource after init with UINavigationBar
The text was updated successfully, but these errors were encountered:
Thanks for this post, you saved my day...
Sorry, something went wrong.
No branches or pull requests
Following code is working but there is no NavigationBar
So, I put navigation controller like below and it crash
I check the code and it's problem in
there is no _photoSource after init with UINavigationBar
The text was updated successfully, but these errors were encountered: