sedq sedq - 1 year ago 161
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

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

Hope this help you.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download