10

I am trying to exclude all services from my UIActivityType except for email and text message. I am using the following statement:

activityController.excludedActivityTypes = @[UIActivityTypeAddToReadingList,UIActivityTypeAirDrop,UIActivityTypeAssignToContact,UIActivityTypeCopyToPasteboard,
                                                     UIActivityTypePostToFacebook,UIActivityTypePostToFlickr,UIActivityTypePostToTencentWeibo,UIActivityTypePostToTwitter,
                                                     UIActivityTypePostToVimeo,UIActivityTypePostToWeibo,UIActivityTypePrint,UIActivityTypeSaveToCameraRoll];

Under iOS 9 I notice that there is something called "Notes" that also shows up. I have looked in the Apple documentation as well as autocomplete and cannot find an entry that references Notes. How can I exclude it?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
C6Silver
  • 3,127
  • 2
  • 21
  • 49
  • 3
    File a bug report on this. Apple neglected to provide a way to exclude the Notes app. – rmaddy Sep 22 '15 at 01:56
  • 1
    Filed report. We'll see what happens... – C6Silver Sep 22 '15 at 03:29
  • 1
    I'll tell you what happens. It will be closed as a duplicate just as mine was. But this is good. The more Apple hears that developers need this, the better chance it has of being resolved. – rmaddy Sep 22 '15 at 03:32
  • 1
    Duplicate: http://stackoverflow.com/questions/31792506/how-to-exclude-notes-and-reminders-apps-from-the-uiactivityviewcontroller/32719521#32719521 – scbojer Sep 22 '15 at 15:08
  • @rmaddy any update on excluding the Notes app? Still doesn't seem possible on iOS 10 ... – Crashalot Apr 03 '17 at 22:51
  • 1
    Possible duplicate of [How to exclude Notes and Reminders apps from the UIActivityViewController?](http://stackoverflow.com/questions/31792506/how-to-exclude-notes-and-reminders-apps-from-the-uiactivityviewcontroller) – rmaddy Apr 03 '17 at 22:55

0 Answers0