cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-10288) statusbar plugin interaction with iOS multitasking
Date Tue, 12 Jan 2016 15:44:40 GMT


jcesarmobile commented on CB-10288:

That bug affected all iOS versions, but it's old and was created when iOS 7 was the latest,
that's why it says iOS 7 on the topic. 
There is a comment there that states "On iOS8.1.3 on iPhone 5s the issue still remains."
And I reproduced the issue on iOS 9 when I fixed CB-4712.

Is cordova supporting multi-task already?

Some notes from
 In iOS 9, it’s no longer appropriate to think in terms of device idiom or interface orientation.
Your app can find itself in either a compact or regular horizontal size class on iPad, with
size changes independent of interface orientation. Instead, employ trait collections and size
classes (see UITraitCollection Class Reference), and adopt the UIContentContainer and UITraitEnvironment
protocols, as described in Slide Over and Split View Quick Start.

Likewise, in iOS 9 it’s no longer appropriate to employ the screen’s bounds to gauge your
app’s visible area. Instead, obtain the value of your app’s window’s bounds property
(which the UIWindow class inherits from the UIView class.)


Your app’s bounds are under the user’s control. You cannot set your app’s bounds, nor
can you prevent the bounds from changing.

So we should check UIScreen.mainScreen.bounds references and change them to use [UIApplication
sharedApplication].keyWindow.bounds (I think)

> statusbar plugin interaction with iOS multitasking
> --------------------------------------------------
>                 Key: CB-10288
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: cordova ios 4.0.0
>            Reporter: Nick Redding
>              Labels: cordova-ios-4.1.0, ios, triaged
> In pluginInitialize the statement
> [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(statusBarDidChangeFrame:)
name: UIApplicationDidChangeStatusBarFrameNotification object:nil];
> causes incorrect rendering behavior when using iOS multitasking split window. When pulling
the cordova app onto the screen from the right, the window resizing is not handled correctly
(much larger widths thsn actual are reported and reflected in the rendering).
> Commenting out this statement eliminates the problem, but it is not clear what the potentially
unwanted effects of this would be.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message