You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by shazron <gi...@git.apache.org> on 2017/06/08 22:32:09 UTC

[GitHub] cordova-plugin-inappbrowser pull request #99: inAppBrowser custom applicatio...

Github user shazron commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/99#discussion_r121013734
  
    --- Diff: src/ios/CDVInAppBrowser.m ---
    @@ -783,6 +793,16 @@ - (void)showToolBar:(BOOL)show : (NSString *) toolbarPosition
     
     - (void)viewDidLoad
     {
    +    CGRect frame = [UIApplication sharedApplication].statusBarFrame;
    +    UIToolbar* bgToolbar = [[UIToolbar alloc] initWithFrame:frame];
    +    bgToolbar.barStyle = UIBarStyleDefault;
    +    bgToolbar.tintColor = [UIColor whiteColor];
    +    bgToolbar.barTintColor = [UIColor whiteColor];
    +//    [[UIBarItem appearance] setTitleTextAttributes:@{UITextAttributeTextColor : [UIColor whiteColor]}];
    +
    +
    +    [self.view addSubview:bgToolbar];
    +    
    --- End diff --
    
    What's the purpose of this code?


---
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