2 Replies
      Latest reply on May 21, 2020 9:17 PM by PBK
      Karonsbo Level 1 Level 1 (0 points)

        Does anyone know how to include the Options button and functionality in the UIActivityViewController, that can be seen when sharing a photo for example: https://ibb.co/cc56qtY

         

        We want our users to be able to decide what files to share in that Options dialog.

        • Re: Options button in the UIActivityViewController
          Claude31 Level 8 Level 8 (9,135 points)

          Where did you read there was an Options button in UIActivityViewController ?

          • Re: Options button in the UIActivityViewController
            PBK Level 7 Level 7 (3,765 points)

            That does not appear to be a UIActivityViewController.

            It appears to be UIBarButtonItem(s) on a UIViewController that has been presented something like this:

             

             

                ChoicesViewController *choices = [[ChoicesViewController alloc] 
                          initWithNibName:@"ChoicesViewController" bundle:nil]; // this is some UIViewController
                UINavigationController *navigationController = [[UINavigationController alloc]
                                                                initWithRootViewController:choices];
                navigationController.modalPresentationStyle=UIModalPresentationFormSheet;
                [self presentViewController:navigationController animated:YES completion:^{
                    
                }];