UIActivityViewController =>LaunchServices: invalidationHandler 调用 [英] UIActivityViewController => LaunchServices: invalidationHandler called

查看:13
本文介绍了UIActivityViewController =>LaunchServices: invalidationHandler 调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑空投的想法.Apple 运行示例代码时出现错误:

https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html

错误信息是:

LaunchServices: invalidationHandler 调用

问题显然是由UIActivityViewController引起的.相关代码位于 这个文件,如果你可以看看.

它仅在设备(iPhone 和 iPad)上运行时显示错误消息.如果在模拟器(iPhone 和 iPad)上运行,一切都很好.这是什么原因?关于如何解决它的任何想法?它可能是一个错误吗?

以下提出了类似的问题,但似乎没有一个能够回答这个问题:

LaunchServices:调用的 invalidationHandler - iOS 8 共享表>

通过 UIActivityViewController 分享到 Twitter/Facebook 等导致崩溃

当前 UIActivityViewController- LaunchServices:invalidationHandler 调用

解决方案

这是 Apple 方面的错误.来自开发者论坛:

<块引用>

该日志消息并不表示您有任何错误.

I am playing around with the idea of Airdrop. There is an error while running the sample code by Apple:

https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html

The error message is:

LaunchServices: invalidationHandler called

The problem is obviously caused by UIActivityViewController. The related code is under #pragma mark - Actions of this file if you could have a look.

It only show the error message when running on devices (both iPhone and iPad). It is all fine if running on simulator (both iPhone and iPad). What's the cause of this? Any idea about how to resolve it? Could it be possibly a bug?

Similar questions are asked by the following, none of which seems to be able to answer this quesition:

LaunchServices: invalidationHandler called - iOS 8 share sheet

Sharing via UIActivityViewController to Twitter/Facebook etc. causing crash

Present UIActivityViewController- LaunchServices:invalidationHandler called

解决方案

This is a bug on Apple's side. From the developer forums:

That log message does not indicate any error on your part.

这篇关于UIActivityViewController =>LaunchServices: invalidationHandler 调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆