Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9027935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:51:59+00:00 2026-06-16T06:51:59+00:00

Since the new SDK was release (iOS 6), the delegate method documentInteractionController:canPerformAction: of the

  • 0

Since the new SDK was release (iOS 6), the delegate method documentInteractionController:canPerformAction: of the UIDocumentInteractionControllerDelegate is deprecated.

Using that method you were able to prevent default actions like print: and copy: to appear.

The method is being called in the current version of iOS 6, but in future versions this method will not be called and my app will show actions that I don’t want to support.

I read the available documentation for the UIDocumentInteractionController and its delegate and I’m not able to find a another way to do what I do in the canPerformAction method.

Any ideas?

As a plus, it would be great to be able to filter apps like mail or twitter (that appears by default) but I guess that this is not possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T06:52:00+00:00Added an answer on June 16, 2026 at 6:52 am

    I think it is because Apple wants you to use the new UIActivity control.

    Here it’s the documentation:

    http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIActivity_Class/Reference/Reference.html

    Here it’s a custom control developed to support many third party apps:

    http://www.cocoacontrols.com/platforms/ios/controls/uiactivitycollection

    And this question solves how could you make your own UIActivity:

    https://stackoverflow.com/a/12766330/736384

    So, if you don’t want the user can use copy: and print: methods just pass this activities to the UIActivityViewController, like this:

    [activityView setExcludedActivityTypes:[NSArray arrayWithObjects:UIActivityTypeCopyToPasteboard, UIActivityTypePrint, nil]];
    

    All the default activities are listed at the bottom of the Apple’s documentation link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the new Facebook SDK 3.0 that just released on Android. I
I have an Android application that is brand-able. We were using SDK v15 (4.0.x)
I've created an app using the new iOS 5 Utility app template. Since the
since the new SDK 1.1 is missing the tutorial for ASPProviders, i am currently
I am very much new to the iPhone SDK. I just haven't been able
I'm using the latest facebook iOS SDK (supporting SSO) to connect my iPhone app
Since moving to ADK14, I have been unable to build new apks for release
I have built a Firefox extension using the Addon SDK that opens up a
I just installed the new SDK update since the 4.1 update (windows) Now, In
since the new Auth Dialog from Facebook (for my App & homepage), I cannot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.