In the application, I use white as the primary color of the hue. If the user opens the UIActivityViewController , I set the hue color for the controller to the standard blue iOS. This is great for the activity itself, but when you want to send mail, the color is not blue, but white again.
It would be great to have a way to set the color of the shades of the presentations. There is one?
Opening the MFMailComposeViewController and setting the hue color to blue also affects the displayed UIActionSheet , not so if the MFMailComposeViewController opened from the UIActivityViewController .
See screenshots for further details: http://i.imgur.com/OggykJF.png
Edit: This is what I do to add a hue color to the UIActivityViewController :
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:items applicationActivities:activities]; activityController.view.tintColor = [UIColor blueColor]; [self presentViewController:activityController animated:YES completion:nil];
ios objective-c xcode swift
triplejberger
source share