TiiMMAppSwitcher:iOS Titanium 移动模块 - 用您自己的自定义卡片视图替换 iOS7 应用切换器视图

  • p9_106990
    了解作者
  • 1.1MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-23 00:46
    上传日期
应用程序切换器 用您自己的自定义卡片视图替换 iOS7 应用切换器视图。 它是的包装模块。 用法 var TiMMAppSwitcher = require('de.marcelpociot.mmappswitcher'); var customSwitchView = Ti.UI.createView({ backgroundColor: "green" }); // Set the switch view TiMMAppSwitcher.switchView = customSwitchView; 选项 切换视图 类型: View 默认值:`` 显示应用切换器时加载的视图。 已知错误 显然有几个错误。 自定义视图仅在第二次显示,应用程序切换器被加载 ImageViews 不能用作切换视图 所以这个模块基本上只是一个正在进行的工作,它更像是某种教育目的。 给定的效果也应该能够
TiiMMAppSwitcher-master.zip
内容介绍
TiMMAppSwitcher =========================================== Replace iOS7 app switcher view with your own customized card view. It's a wrapper module for [MMAppSwitcher](https://github.com/vpdn/MMAppSwitcher). ### Usage var TiMMAppSwitcher = require('de.marcelpociot.mmappswitcher'); var customSwitchView = Ti.UI.createView({ backgroundColor: "green" }); // Set the switch view TiMMAppSwitcher.switchView = customSwitchView; ## Options #### switchView Type: `View` Default: `` View to load when the app switcher gets displayed. ## Known Bugs Apparently there are a couple of bugs. + The custom view only gets displayed at the second time, the app switcher gets loaded + ImageViews can't be used as switch views So this module basically is just a work in progress and it's more intended to be some kind of educational purpose. The given effect should be able to achieve with a simple CommonJS module for Titanium too. ABOUT THE AUTHOR ======================== I'm a web enthusiast located in Germany and in charge of http://www.titaniumcontrols.com Follow me on twitter: @marcelpociot / @TitaniumCTRLs [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mpociot/tiimmappswitcher/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
评论
    相关推荐