Problem with show index bar after even exit full-screen video
This problem is caused by even after exit full-screen video or closed ModalViewController (Only in iOS 6.1 / 5.1 work fine)
case from exit full-screen video indexbar can show only a sec and it hide automatic.
But if try to open full screen and exit it again. The problems are gone.
I have the same problem, when open an external link or a full screen video the index bar disapear or appears 20px in the bottom.
The problem has been solved. in BakerViewController.m
- (void)viewWillAppear:(BOOL)animated {
if (!currentPageWillAppearUnderModal) {
[super viewWillAppear:animated];
[self.navigationController.navigationBar setTranslucent:YES];
if(currPage==nil){
// ****** LISTENER FOR INTERCEPTOR WINDOW NOTIFICATION
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleInterceptedTouch:) name:@"notification_touch_intercepted" object:nil];
// ****** LISTENER FOR CLOSING APPLICATION
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleApplicationWillResignActive:) name:@"applicationWillResignActiveNotification" object:nil];
}
}
}
Thank you aspek, I made this change in the code, but now, after visiting a website or a video, only the top bar appears when you double-tap on the publication, any solution on this?
What version of baker did u use?
4.0
I dunno. Did you have this code yet? in closeModalWebView
- (void)closeModalWebView {
/****************************************************************************************************
* This function is called from inside the modal view to close itself (delegate).
*/
currentPageWillAppearUnderModal = YES;
// Check if iOS5+ method is supported
if ([self respondsToSelector:@selector(dismissViewControllerAnimated:completion:)]) {
// iOS 5+
[self dismissViewControllerAnimated:YES completion:nil];
} else {
// iOS 4
[self dismissModalViewControllerAnimated:YES];
}
// In case the orientation changed while being in modal view, restore the
// webview and stuff to the current orientation
[self willRotateToInterfaceOrientation:self.interfaceOrientation duration:0];
[self didRotateFromInterfaceOrientation:self.interfaceOrientation];
}
I'm about to close this thread. Are you still getting the problem with the latest version of Baker?
Yes, I'll try with the new version 4.1 this week.
@aguebel any news?