Commit Graph

30 Commits

Author SHA1 Message Date
Vladimir Kotikov d853f828d6 CB-8720 Fix status bar position when app started upside down on iOS 7. This closes #44 2016-01-05 13:34:37 +03:00
Jesse MacFadyen 60686a944a Pushed too soon, missed a _ 2015-11-11 13:53:41 -08:00
Jesse MacFadyen cf1092fe81 Added weakSelf reference for block use 2015-11-11 13:45:13 -08:00
Julio César 86b9edba5d Fixes CB-4712, CB-5439 statusbar issues
Fixes CB-4712, CB-5439 and hopefully all the statusbar issues related
to the size or resize of the cordova webview  when the status bar
changes the size and/or rotation and resizes first time
2015-11-07 18:21:54 +01:00
Julio César 986516cf97 removed silly copy/paste mistakes
removed silly copy/paste mistakes
2015-09-14 23:04:53 +02:00
Julio César 145fad6764 fix ios warnings
fix ios 7 deprecate warnigns
2015-09-14 20:43:48 +02:00
Christian Wannerstedt 3e821abfc2 Don't use IsAtLeastiOSVersion macro to determine height 2015-07-01 13:49:50 +02:00
Christian Wannerstedt 07b55b7529 Use correct statusbar height for landscape orientation in iOS >= 8 2015-07-01 13:25:26 +02:00
Andrew Grieve cad3a13c37 CB-8351 Use argumentForIndex rather than NSArray extension 2015-01-23 09:49:21 -05:00
Shazron Abdullah 5658e7548c CB-7549 - (Re-fix) [StatusBar][iOS 8] Landscape issue (closes #15) 2014-10-06 14:43:12 -07:00
twomz 921daccd2c CB-7549 - [StatusBar][iOS 8] Landscape issue
When starting an app in landscape mode in ios 8 and then calling StatusBar.overlaysWebView(false), the screen would be pushed down all the way.  Changing the orientation did not fix the issue, leaving the page pushed down the width of the device.

We found that excluding the changes above in ios 8 fixed the issue, although it's possible that this is hiding a landscape orientation bug in ios 8 that may get fixed later.

Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-09-16 16:40:15 -07:00
Andrew Grieve be8a3e5947 ios: Use a persistent callbackId instead of calling sendJs 2014-07-14 22:56:42 -04:00
Tiancheng Zhu f0031ca2b4 CB-6626 ios: Add a JS event for tapping on statusbar
close #4
2014-07-14 22:56:21 -04:00
Tiancheng Zhu 6552bddfd1 ios: Fix hide to adjust webview's frame only when status bar is not overlaying webview 2014-07-14 22:56:06 -04:00
pelish8 55575f5409 CB-6783 - added StatusBarStyle config preference, updated docs (closes #9)
Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-06-02 15:32:36 -07:00
Ryan Willoughby a4d6320c37 CB-6187 - If you Show and Hide the StatusBar - it will expand the screen-size by ~20 pixels + don't resize the webview on hide if statusbar overlays it 2014-03-06 15:38:49 -08:00
Ryan Willoughby 69c1aee5ce CB-6186 - Statusbar problems in Landscape Mode iOS 7 2014-03-06 15:37:08 -08:00
Shazron Abdullah fee10a1334 CB-5389 - iOS - Status Bar plugin issues with orientation 2013-11-22 12:18:34 -08:00
Shazron Abdullah 062dfceb29 CB-5431 - Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation
Note that this has been tested and works on iPad only, and Universal. On iPhone only while on iPad, there is a black area where the status bar is (bug in statusBarBackgroundView positioning)
2013-11-18 17:20:37 -08:00
Shazron Abdullah 9c9a8ba983 StatusBar - remove dependence of UIViewControllerBasedStatusBarAppearance Info.plist key 2013-10-15 14:12:55 -07:00
Shazron Abdullah 7e42f7db49 Added show() and hide() to StatusBar API 2013-10-14 16:47:38 -07:00
Shazron Abdullah c2f13fe231 Implement StatusBar.isVisible 2013-10-07 17:53:04 -07:00
Shazron Abdullah 4be7bcc826 Removed statusBar prefix from StatusBar plugin API 2013-10-07 17:20:36 -07:00
Shazron Abdullah b61eaae310 Fixed statusbar background view not auto-resizing on landscape. 2013-10-07 16:51:36 -07:00
Shazron Abdullah ec5fa951df Match statusbar style to default background color of #000000 2013-10-07 16:30:16 -07:00
Shazron Abdullah c42b57e4dc Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist 2013-10-07 15:23:55 -07:00
Shazron Abdullah 690de48214 Added statusbar preferences to plugin.xml
Removed Info.plist section in plugin xml due to crash: https://issues.apache.org/jira/browse/CB-5012
2013-10-07 15:13:32 -07:00
Shazron Abdullah 058c6b71cc Added ability to set statusbar background color by hex string. 2013-10-06 01:18:06 -07:00
Shazron Abdullah da275b579f Added statusbar background, including API to change its background color 2013-10-06 00:47:33 -07:00
Shazron Abdullah 512a1388c6 Added statusbar plugin.
This controls whether the statusbar overlays the webview in iOS 7, as well as allows changing of the statusbar styles.
2013-10-04 18:03:18 -07:00