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 8683071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:56:42+00:00 2026-06-12T21:56:42+00:00

In the Photos app on the iPhone, when you select the Mail sharing option,

  • 0

In the Photos app on the iPhone, when you select the Mail sharing option, the photo animates into the modal view controller that slides up. How is it possible to modify the behaviour of the built-in UIActivities? For example, I’d like to be able to set the subject field of the mail composer.

  • 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-12T21:56:43+00:00Added an answer on June 12, 2026 at 9:56 pm

    Unfortunately, customizing the subject field of the UIActivityViewController mail composer is not working yet.

    There is a documented and reported bug regarding trying to customize this discussed here:

    iphone – How do I set recipients for UIActivityViewController in iOS 6?


    If this were working, according to the documentation, you would be able to customize these mail composer fields:

    UIActivityTypeMail:
    The object posts the provided content to a new email message. When
    using this service, you can provide NSString and UIImage objects and
    NSURL objects pointing to local files as data for the activity items.
    You may also specify NSURL objects whose contents use the mailto
    scheme.

    So using the mailto scheme, when it is working, you should be able to customize those fields like this:

        NSString *text = @"My mail text";
        NSURL *recipients = [NSURL URLWithString:@"mailto:foo@bar.com?subject=Here-is-a-Subject"];
        NSArray *activityItems = @[text, recipients];
    
        UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
        [self presentViewController:activityController animated:YES completion:nil];
    

    If your looking for other ways to customize the UIActivityViewControllerthere is an excellent example project here:

    https://github.com/russj/ios6ShareDemo

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

Sidebar

Related Questions

What does it take to add a menu option to the iPhone's Photos/Camera app
I'm developing an iPhone app that creates a Photo Album to hold the pictures
I'm currently making an iphone app where the user takes a photo or select
I have an iphone app which post photos into albums of facebook users, and
I would like to allow my iPhone App users to view and select from
I have to create an app in iPhone which can generate QRCode for Text,Mail,Map,Photos
I have to create a photo gallery app in iPhone. It should function same
Hiii Everyone i m developing a Photo Collage App in iPhone and i want
i'm trying to create a photo viewer like the Apple Photos app in iOS.
I am making an app that takes photos from web site for some Username

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.