UIActivityViewController:LaunchServices:invalidationHandler被调用

时间:2014-09-23 07:14:45

标签: uiactivityviewcontroller

我在ios8中使用UIActivityViewController

并使用ARSafariActivity.h

   NSURL *newsURL = [NSURL URLWithString:string];
    NSString *newsTitle = @"..."

    ARSafariActivity *safariActivity = [[ARSafariActivity alloc] init];

    UIActivityViewController *avc = [[UIActivityViewController alloc] 
                                        initWithActivityItems:@[newsTitle, newsURL] 
                                        applicationActivities:@[safariActivity]];

    [avc setRestorationIdentifier:@"Activity"];

    [self.navigationController presentViewController:avc animated:YES completion:nil];

一切正常,但是当我在iPhone上测试应用时,控制台会显示:

LaunchServices:invalidationHandler,名为

我如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

似乎要在几个主题中讨论/回答,例如在这里:This is a bug on Apple's side

简而言之 - 它来自iOS的调试消息,你不应该关心它