[jira] [Commented] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784944#comment-13784944
 ] 

Matt McDonald commented on CB-4988:
---

Just found this: http://osdir.com/ml/phonegap/2013-09/msg01077.html

Tested it, and adding this code fixed the issue:
- (void)viewDidLayoutSubviews{

if ([self respondsToSelector:@selector(topLayoutGuide)]) // iOS 7 or above

{

CGFloat top = self.topLayoutGuide.length;

if(self.webView.frame.origin.y == 0){ // We only want to do this once, 
or if the view has somehow been "restored" by other code.

self.webView.frame = CGRectMake(self.webView.frame.origin.x, 
self.webView.frame.origin.y + top, self.webView.frame.size.width, 
self.webView.frame.size.height - top);

}

}   

}

> InAppBrowser broken top bar iOS 7
> -
>
> Key: CB-4988
> URL: https://issues.apache.org/jira/browse/CB-4988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 3.0.0, 3.1.0
> Environment: iOS 7
>Reporter: Matt McDonald
>
> In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
> goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784941#comment-13784941
 ] 

Matt McDonald commented on CB-4988:
---

e.g. http://i39.tinypic.com/119zedv.png

> InAppBrowser broken top bar iOS 7
> -
>
> Key: CB-4988
> URL: https://issues.apache.org/jira/browse/CB-4988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 3.0.0, 3.1.0
> Environment: iOS 7
>Reporter: Matt McDonald
>
> In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
> goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Issue Comment Deleted] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt McDonald updated CB-4988:
--

Comment: was deleted

(was: e.g. http://i39.tinypic.com/119zedv.png)

> InAppBrowser broken top bar iOS 7
> -
>
> Key: CB-4988
> URL: https://issues.apache.org/jira/browse/CB-4988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 3.0.0, 3.1.0
> Environment: iOS 7
>Reporter: Matt McDonald
>
> In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
> goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784940#comment-13784940
 ] 

Matt McDonald commented on CB-4988:
---

e.g. http://i39.tinypic.com/119zedv.png

> InAppBrowser broken top bar iOS 7
> -
>
> Key: CB-4988
> URL: https://issues.apache.org/jira/browse/CB-4988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 3.0.0, 3.1.0
> Environment: iOS 7
>Reporter: Matt McDonald
>
> In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
> goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)
Matt McDonald created CB-4988:
-

 Summary: InAppBrowser broken top bar iOS 7
 Key: CB-4988
 URL: https://issues.apache.org/jira/browse/CB-4988
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Affects Versions: 3.0.0, 3.1.0
 Environment: iOS 7
Reporter: Matt McDonald


In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (CB-4988) InAppBrowser broken top bar iOS 7

2013-10-03 Thread Matt McDonald (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt McDonald updated CB-4988:
--

Component/s: iOS

> InAppBrowser broken top bar iOS 7
> -
>
> Key: CB-4988
> URL: https://issues.apache.org/jira/browse/CB-4988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 3.0.0, 3.1.0
> Environment: iOS 7
>Reporter: Matt McDonald
>
> In iOS 7, when the top bar is viewable in your app, the InAppBrowser plugin 
> goes underneath the bar.



--
This message was sent by Atlassian JIRA
(v6.1#6144)