cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keane <...@git.apache.org>
Subject [GitHub] cordova-plugin-statusbar pull request: fix warning on IOS8
Date Thu, 11 Jun 2015 04:30:12 GMT
GitHub user keane opened a pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/26

    fix warning on IOS8

    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


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/keane/cordova-plugin-statusbar master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-statusbar/pull/26.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #26
    
----
commit 520bc4f7f7f5fb64f4db4002a4912370ab36f89b
Author: Kun Zhou <clirochina@gmail.com>
Date:   2015-06-11T04:22:03Z

    fix warning on IOS8

----


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


Mime
View raw message