cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10047) [StatusBar] Fix iOS8 Deprecation Warnings
Date Mon, 22 Feb 2016 18:50:18 GMT

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

ASF subversion and git services commented on CB-10047:
------------------------------------------------------

Commit 47f245462d1438bd783d503042de8dc225e0af2e in cordova-plugin-statusbar's branch refs/heads/master
from [~jcesarmobile]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-statusbar.git;h=47f2454 ]

CB-10047 fix iOS 8 deprecated warnings

Removed all references to self.viewController.interfaceOrientation,
they weren’t really used on invertFrameIfNeeded and are deprecated on
iOS 8
Removed orientation param on invertFrameIfNeeded as it wasn’t being
used.

closes #26


> [StatusBar] Fix iOS8 Deprecation Warnings
> -----------------------------------------
>
>                 Key: CB-10047
>                 URL: https://issues.apache.org/jira/browse/CB-10047
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>            Reporter: jordan cardwell
>            Assignee: jcesarmobile
>            Priority: Minor
>              Labels: deprecated, deprecation
>
> Issue has been around for a while
> [https://github.com/apache/cordova-plugin-statusbar/pull/26]
> After use Cordova build ios
> there are some warning about UIDeviceOrientation and UIInterfaceOrientation:
> Implicit conversion from enumeration type "UIDeviceOrientation"(aka "enum UIDeviceOrientation")
to different enumeration type "UIInterfaceOrientation" (aka "enum UIInterfaceOrientation")
> Based on current ios api, UIViewControl.interfaceOrientation has been deprecated.
> Fixed those warning using function: [[UIDevice currentDevice] orientation] instead of
self.viewController.interfaceOrientation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message