要避免复杂的交互及页面设计,例如tab bars or 复杂的表格,尽可能提供线性的、 focused用户体验。
能够用先进的技术处理复杂的任务,例如Apple Pay或者Sign in with Apple。
越小越好
为了保证启动快速,应用剪辑最大10 MB优化
看看哪些Frameworks能够用
App clips make use of SwiftUI and UIKit, and have access to the same frameworks as your full app. 不能用的Framework: CallKit, CareKit, CloudKit, HealthKit, HomeKit, ResearchKit, SensorKit, and Speech. 用了不可用的Framework也不会编译错误。而是api返回空、错误、或者不可用 For example, HealthKit’s isHealthDataAvailable returns false when you call it from an app clip.网站
保护用户隐私
应用剪辑能够用 SKOverlay or SKStoreProductViewController来显示广告或者推荐其余app. 可是 Limit App Tracking is always enabled
不能请求追踪受权,一些标识符也会返回空
不能进行后台请求任务
应用剪辑不用的时候,不能维持蓝牙链接
不能持续请求定位
定位受权会在次日4点取消
为了保护用户数据,如下资源不能访问:
运动和健身数据
Apple Music and Media
Data from apps like 通信录, Files, 短信, 提醒, and 照片 只能和主App共享数据 For more information, see Making Data Available to the App Clip’s Corresponding App.