cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kerrishotts <...@git.apache.org>
Subject [GitHub] cordova-plugin-statusbar pull request #62: CB:-9161 Support iPad multitaskin...
Date Thu, 01 Sep 2016 11:54:31 GMT
Github user kerrishotts commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/62#discussion_r77159431
  
    --- Diff: src/ios/CDVStatusBar.m ---
    @@ -132,13 +132,15 @@ - (void)pluginInitialize
     
         // blank scroll view to intercept status bar taps
         self.webView.scrollView.scrollsToTop = NO;
    -    UIScrollView *fakeScrollView = [[UIScrollView alloc] initWithFrame:UIScreen.mainScreen.bounds];
    +    
    +    CGRect bounds = [self.viewController.view.window bounds];
    --- End diff --
    
    @jonathanli2: When testing this, I get a (0,0)x(0,0) frame:
    
        (CGRect) bounds = (origin = (x = 0, y = 0), size = (width = 0, height = 0))
    
    ... which means I can't tap the status bar.
    
    I'm testing on iOS 10b8, iPhone 6s and iPad Pro (with and without a launch storyboard).

    
    Could you share a test project that worked for you so I can see what (if any) differences
there are that might cause this?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message