I'm facing an issue related to the UIActivityViewController with Edit Actions title.
It shows SHARE_SHEET_EDIT_ACTIONS_BUTTON_TITLE instead of Edit Actions..
Findings:
- Working fine in the other apps such as WhatsApp and Instagram.
- The same code is working fine in the newly created iOS apps.
- Tested in iOS 15.0 and iOS 14.0+ using Xcode Version 13.1.
- Tested on both Device and Simulators.
Notes:
The project is in ObjectiveC and created before 3 years.
Code:
NSString* shareText = @"Sharing an eddress with you";
NSURL *website = [NSURL URLWithString:@"http://eddress.co/EDDRSS"];
NSArray *shareArray = @[shareText, website];
UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:shareArray applicationActivities:nil];
[activityVC setValue:@"Someone shared an eddress with you" forKey:@"subject"];
NSArray *excludeActivities = @[UIActivityTypeAirDrop,
UIActivityTypePrint,
UIActivityTypeAssignToContact,
UIActivityTypeSaveToCameraRoll,
UIActivityTypeAddToReadingList,
UIActivityTypePostToFlickr,
UIActivityTypePostToVimeo];
activityVC.excludedActivityTypes = excludeActivities;
[self presentViewController:activityVC animated:YES completion:nil];
Screenshots:
Any help on this is highly appreciated.

