ios8 - 如何跟踪扩展中的事件?

标签 ios8 apple-watch

大多数 iOS 分析工具(flurry、new relics)使用标准的 uiapplication 委托(delegate)方法以批量、每分钟或在应用程序终止时上传事件。我还没有从这些家伙那里看到任何专门的扩展解决方案(今天,照片......)。你在 ios8 的扩展分析中做了什么?

最佳答案

目前,我使用了两种解决方法
1 - 我使用了应用组共享数据 https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html当用户打开包含的应用程序时,我会记录事件
2 - 我今天的扩展允许用户 openURL 打开包含的应用程序,我在 url 的参数中传递数据。

关于ios8 - 如何跟踪扩展中的事件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25761559/

相关文章:

swift - Swift 中的 SpriteKit 颜色填充动画

ios - 如何获取 Apple Watch 的 [Glance] 界面 Controller /空白板?

objective-c - ios8 unwind segue 不适用于 UINavigationBarController 和 UITabBarController(已在 iOS 8.1 中修复)

objective-c - 在 ios 7.1 和 ios 8.0 中运行时,应用程序在 sleep 模式下崩溃

ios - [UIImageAsset 保留] : message sent to deallocated instance

ios - WatchOS2 WCSession WCSession 在 WatchKitExtension 中可以有多少个委托(delegate)?

swift - 如何判断当前运行的 Apple Watch 尺寸/尺寸是 38 毫米还是 42 毫米?

ios - 我们可以在Apple Watch中设置启动屏幕吗?

ios - 如何设置AppStore支持的最高iOS版本

ios - 最初不在屏幕上的动画和 View 的自动布局?