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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to