守望者--AIR技术交流
标题: 随意控制iOS7的状态栏,改变变色/出现隐藏ANE [打印本页]
作者: 破晓 时间: 2015-1-26 23:19
标题: 随意控制iOS7的状态栏,改变变色/出现隐藏ANE
ANE-iOS7-StatusBar随意控制iOS7的状态栏。
CameraRool和CameraUI都会导致ios7的状态栏出现/变色,需要用这个东西修改。平时也可以变个颜色,出现隐藏之类的。
把以下代码加到
xxx-app.xml里
- <key>UIViewControllerBasedStatusBarAppearance</key>
- <false/>
- <key>UIStatusBarStyle</key>
- <string>UIStatusBarStyleLightContent</string>
复制代码
记得前面的fullscreen改为false
- <fullScreen>false</fullScreen>
复制代码
重新编译一样需要OSX环境
[attach]699[/attach]
相关链接:
https://github.com/chzuqi/ANE-iOS7-StatusBar
下载
作者: 破晓 时间: 2015-1-30 17:14
ios status bar refresh (objective-c) native extension for air mobile application (as3,flex)
IOSStatusBarAneStatusbar theme was getting changed when CameraRoll or ios native window had opened. Here is the ane file to fix this bug in adobe air 3.9 >
ENJOY! 
ios status bar refresh native extension with ane file. ios7 status bar bug solution fixed. ios7 cameraroll as there after status bar not refresh bug solution fixed. Adobe Air i0S7 StatusBar Overlays stage, Adobe Air 3.9 bug fixed. New Version ios statusbar hidden apparance.
ane file path:https://github.com/sharkhack/IOSStatusBarAne/blob/master/AS3LIB/IOSApplicationSettings/release/IOSApplicationSettings.ane
how to use and test code path:https://github.com/sharkhack/IOSStatusBarAne/blob/master/FLEX_TEST/textapplication.mxml
FOR IOS -> AIR MOBILE APPLICATION STATUS BAR OVERLAY PADDING - AS3
- if(Capabilities.version.indexOf("IOS") == 0) { var osInfo:Array = Capabilities.os.split(" "); var versionNumber:Number = parseFloat(osInfo[2]); isIos = true; if(versionNumber >= 7) { isIos7 = true; /* for ios7 status bar overlay padding bug… */ var t:Number = height>=960 ? 40 : 20; setStyle(“paddingTop”,t); } }
- /* STATUS BAR THEME REFRESH */
- callLater(refreshStatusBar);
- refresh statusbar;
- /** Settings.UIStatusBarStyleDefault
- Settings.UIStatusBarStyleLightContent
- Settings.UIStatusBarStyleBlackOpaque
- Settings.UIStatusBarStyleBlackTranslucent
- **/
- com.azer.IOSApplicationSettings.Settings::RefreshStatusBar(Settings.UIStatusBarStyleLightContent);
- // YES or NO
- com.azer.IOSApplicationSettings.Settings::StatusbarHidden("YES");
复制代码 [attach]738[/attach]
相关链接:
https://github.com/sharkhack/IOSStatusBarAne
作者: 破晓 时间: 2015-3-26 11:03
相关下载:
StatusBarStyleANE
Set UIStatusBarStyle for iOS7
This Native Extension require iOS7+ And Adobe AIR 3.9+
https://github.com/kazutoyo/StatusBarStyleANE
作者: 破晓 时间: 2015-4-3 17:53
相关下载:
StatusBar-ANE
PRO Native Extension for Adobe AIR which changes iOS status bar style.
StatusBar ANE v1.0.0
PRO Native Extension for Adobe AIR which changes iOS status bar style.
Status
This demo is fully functional example. You can test ANE functions without any limitations. If you want it to be running in your application you can purchase any number of licenses each for up to 3 applications and without any limitations in time! License server can be found here http://kavolorn.ru/pro-native-extensions.
ANE supports iPhone-ARM and iPhone-x86 including x64 bit platforms introduced in Adobe AIR SDK 16.
Extension is build with 16.0.0.283 Adobe AIR SDK and iOS 8.1 SDK.
Repository contains module file for IntelliJ IDEA.
Requirements
iOS 7.0+
Version history
1.0.0
Debug control has been integrated.
0.2.0
License time limit has been eliminated.
Initialization success event has been added.
0.1.1
License check bug has been fixed.
0.1.0
Initial release.
https://github.com/kavolorn/StatusBar-ANE
| 欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/) |
|