sedq sedq - 3 months ago 18x
iOS Question

Detect dismissal of UIActivityViewController

I need to present a view, after UIActivityViewController will move to parent VC

UIActivityViewController *avvc = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil];
[self presentViewController:avvc animated:YES completion:nil];

Sorry for noob question, but i found solution only for custom VC's classes

[avvc setCompletionHandler:^(NSString *activityType, BOOL completed) {
    NSLog(@"after dismiss");
    //Present another VC

Hope this help you.