2

i am using UIActivityViewController in ios8

and using 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];

Everything is working properly, but when i test app in my iPhone the console show this:

LaunchServices: invalidationHandler called

How i can fix that?

Almudhafar
  • 887
  • 1
  • 12
  • 26

1 Answers1

0

Seem to be discussed/answered in several threads, e.g. here: This is a bug on Apple's side

In short - it's debug message from iOS and you should not care about it

Community
  • 1
  • 1
Nick Entin
  • 1,087
  • 8
  • 18