设置
self
.
view
.
backgroundColor
= [
UIColor
clearColor
]; 变成黑色的问题解决方法:
- (void)showActivety
{
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"EMShare" bundle:nil];
EMShareViewController *shareVC = [storyBoard instantiateViewControllerWithIdentifier:@"EMShareViewControllerID"];
shareVC.providesPresentationContextTransitionStyle = YES;
shareVC.definesPresentationContext = YES;
shareVC.modalPresentationStyle = UIModalPresentationOverCurrentContext;
[self presentViewController:shareVC animated:YES completion:nil];
}