On 6.1, the magazine displays correctly. However when I test it on 7.0 simulator, it shifts by (what looks like is the status bar height).
Please see the screenshots here -
iOS6.1 -
iOS7.0 -
Notice the extra white space above as the webview has shifted up.
I am using the setting "UIViewControllerBasedStatusBarAppearance" in info.plist to NO. I also tried using YES (default) but the WebView goes behind the tranluscent status bar.
I tried to dig in BakerViewController.m and tried to change the frame if version is 7.0 or above for scrollView in viewDidLoad. However its does not take the new Y co-ordinate.
Heres what I am trying to do
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")) {
self.scrollView = [[[UIScrollView alloc] initWithFrame:CGRectMake(0, 20, pageWidth, pageHeight)] autorelease];
Can someone point me to where I should be tweaking this to make it work correctly on iOS7?
Hi,
On 6.1, the magazine displays correctly. However when I test it on 7.0 simulator, it shifts by (what looks like is the status bar height).
Please see the screenshots here - iOS6.1 -
iOS7.0 -
Notice the extra white space above as the webview has shifted up.
I am using the setting "UIViewControllerBasedStatusBarAppearance" in info.plist to NO. I also tried using YES (default) but the WebView goes behind the tranluscent status bar.
I tried to dig in BakerViewController.m and tried to change the frame if version is 7.0 or above for scrollView in viewDidLoad. However its does not take the new Y co-ordinate.
Heres what I am trying to do if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")) { self.scrollView = [[[UIScrollView alloc] initWithFrame:CGRectMake(0, 20, pageWidth, pageHeight)] autorelease];
Can someone point me to where I should be tweaking this to make it work correctly on iOS7?
Thanks, Dev.