- 积分
- 136401
- 注册时间
- 2014-12-27
- 最后登录
- 2026-1-23
- 在线时间
- 605 小时
- 威望
- 562
- 贡献
- 29
- 金币
- 52903
- 钢镚
- 1422
- 交易凭证
- 1
- 分享
- 0
- 精华
- 33
- 帖子
- 2094
- 主题
- 1742
TA的每日心情 | 擦汗 2018-4-10 15:18 |
|---|
签到天数: 447 天 [LV.9]以坛为家II
超级版主
    
- 威望
- 562
- 贡献
- 29
- 金币
- 52903
- 钢镚
- 1422
 
|
应用下载
| 应用名称: |
ActionSheetAne |
| 支持64位: |
|
| 当前版本: |
未知 |
| 运行平台: |
IOS |
| 开发语言: |
ActionScript 3 Object-C |
| 应用类别: |
ANE-C/C++ |
| 应用简介: |
ActionSheet Native Extension for iOS |
NativeActionSheetBased on https://github.com/mccormicka/NativeAlertThis is my first extension and i'm not really good at objective c, but since it works, i thought, i would share.Builds are available in ActionSheetAneBuild, so if you are not familliar with ane creation, you just need ActionSheet.ane and ActionSheet.swc,the extensionId is pl.mllr.extensions.NativeActionSheet (specified in extension.xml)Depending on the device, you should use (https://developer.apple.com/library/IOs/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html)iPhone/iPodshowActionSheet() - shows simple action sheet with title and buttons (cancel + destructive + optional buttons)iPadshowActionSheetFromRect() - shows simple action sheet with title and buttons (cancel + destructive + optional buttons) in a form of popover from a specified rectangle.I don't currently have an access to an iPhone/iPod device, so i could only test this on iPad - both methods worked.You have to keep in mind, that popover ignores device orientation, so the specified rectangle is always calculated from the same corner, but i guess, that this is normal for showFromRect:inView:animated:
相关链接:
https://github.com/memeller/ActionSheetAne
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|