Created
March 1, 2012 01:08
-
-
Save wookiee/1946387 to your computer and use it in GitHub Desktop.
viewDidAppear in BNRDocumentPageViewController for better page curling (not perfect)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidAppear:(BOOL)animated | |
{ | |
UIView *targetView = self.view.superview.superview; // UINavigationTransitionView | |
targetView.clipsToBounds = NO; | |
[targetView.superview bringSubviewToFront:targetView]; | |
targetView = targetView.superview; // UILayoutContainerView | |
targetView.clipsToBounds = NO; | |
[targetView.superview bringSubviewToFront:targetView]; | |
[super viewDidAppear:animated]; | |
NSLog(@"%@",self.view); | |
NSLog(@"\n%@",[[[UIApplication sharedApplication] keyWindow] performSelector:@selector(recursiveDescription)]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment