Transparent ViewController to See Parent Below?
@Josh Kahane
set the view controller that will present the transparent view controller with this code at the -ViewDidLoad
and be sure to set the alpha channel of the UIViewController
View to be lower then 1.
Code:
self.modalPresentationStyle = UIModalPresentationCurrentContext;
iOS : ModalView with background transparent?
you can check the iOS7 example (see my comm) or you can simple try this:
remove this line from your "presenting" method
controller.view.backgroundColor = [UIColor clearColor];
now, in viewDidLoad of the ShareController
add:
self.view.backgroundColor = [UIColor clearColor];
self.modalPresentationStyle = UIModalPresentationCurrentContext;
self.modalPresentationStyle = UIModalPresentationFormSheet;
PS
if you have a navigationController... use
[self.navigationController presentViewController:controller animated:YES completion:nil];
Related Topics
React Native Xcode Project Product Archive Fails with Duplicate Symbols for Architecture Arm64
Custom Repeat Interval for Uilocalnotification
Resize the Screen When Keyboard Appears
React-Native Run-iOS Can Not Find Any Simulator
Get Dns Server Ip from iPhone Settings
Nsgenericexception Reason Collection <Nsconcretemaptable: Xxx>
How to Force Uiviewcontroller Orientation
How to Install an Unsigned IPA File on My Device Using an Apple Developer Account
How to Completely Hide the Status Bar in iOS Using Cordova
How to Create Different User Groups in Firebase
Xcode 10 Build Fails with 'Command Compileswift Failed with a Nonzero Exit Code
Apple Llvm 6.0 Error: Clang Failed with Exit Code -1
Firebase Listener When App Is in the Background
How to Share Nsdata or Phasset Video Using Facebook iOS Sdk 4.0 Fbsdksharedialog
Swift JSON Error:Could Not Cast Value of Type '_Nsdictionarym' to 'Nsarray'