嗨,谁能告诉我如何使 iOS 6 中的共享表变黑?我知道如何使操作表变黑。我将此代码用于操作表:
[actionsheetshare setActionSheetStyle:(UIActionSheetStyleBlackTranslucent)];
[编辑]
默认情况下看起来也是如此
这是我使用的代码:NSString* someText = @"";
NSArray* dataToShare = @[someText]; // ...or whatever pieces of data you want to share.
UIActivityViewController* activityViewController =
[[UIActivityViewController alloc] initWithActivityItems:@[someText]
applicationActivities:nil];
[self presentViewController:activityViewController animated:YES completion:^{}];