守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 3792|回复: 3
打印 上一主题 下一主题

随意控制iOS7的状态栏,改变变色/出现隐藏ANE

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52692
    钢镚
    1422

    开源英雄守望者

    跳转到指定楼层
    楼主
    发表于 2015-1-26 23:19:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    应用下载
    应用名称: ANE-iOS7-StatusBar
    支持64位:
    当前版本: 未知
    运行平台: IOS 
    开发语言: ActionScript 3 其他 
    应用类别: ANE-C/C++
    应用简介: 随意控制iOS7的状态栏,改变变色/出现隐藏
    ANE-iOS7-StatusBar

    随意控制iOS7的状态栏。

    CameraRool和CameraUI都会导致ios7的状态栏出现/变色,需要用这个东西修改。平时也可以变个颜色,出现隐藏之类的。

    把以下代码加到
    xxx-app.xml里

    1. <key>UIViewControllerBasedStatusBarAppearance</key>
    2. <false/>
    3. <key>UIStatusBarStyle</key>
    4. <string>UIStatusBarStyleLightContent</string>
    复制代码

    记得前面的fullscreen改为false

    1. <fullScreen>false</fullScreen>
    复制代码

    重新编译一样需要OSX环境




    相关链接:



    https://github.com/chzuqi/ANE-iOS7-StatusBar


    下载


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
    收藏收藏 分享分享 支持支持 反对反对 微信
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52692
    钢镚
    1422

    开源英雄守望者

    沙发
     楼主| 发表于 2015-1-30 17:14:48 | 只看该作者
    ios status bar refresh (objective-c) native extension for air mobile application (as3,flex)


    IOSStatusBarAne

    Statusbar 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

    1. 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); } }

    2. /* STATUS BAR THEME REFRESH */

    3. callLater(refreshStatusBar);

    4. refresh statusbar;

    5. /** Settings.UIStatusBarStyleDefault

    6. Settings.UIStatusBarStyleLightContent

    7. Settings.UIStatusBarStyleBlackOpaque

    8. Settings.UIStatusBarStyleBlackTranslucent

    9. **/

    10. com.azer.IOSApplicationSettings.Settings::RefreshStatusBar(Settings.UIStatusBarStyleLightContent);

    11. // YES or NO

    12. com.azer.IOSApplicationSettings.Settings::StatusbarHidden("YES");
    复制代码



    相关链接:


    https://github.com/sharkhack/IOSStatusBarAne

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52692
    钢镚
    1422

    开源英雄守望者

    板凳
     楼主| 发表于 2015-3-26 11:03:56 | 只看该作者
    相关下载:

    StatusBarStyleANE
    Set UIStatusBarStyle for iOS7

    This Native Extension require iOS7+ And Adobe AIR 3.9+

    https://github.com/kazutoyo/StatusBarStyleANE
    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52692
    钢镚
    1422

    开源英雄守望者

    地板
     楼主| 发表于 2015-4-3 17:53:39 | 只看该作者
    相关下载:

    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技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2024-4-19 14:45 , Processed in 0.049721 second(s), 35 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表