I have a view that I wish to present to the user in the standard way (sliding up from the bottom of the screen). About half this view is a transparent background and the bot
Using SWIFT 4, just add this code to the view controller you want to have a transparent background.
override func viewDidLoad() { super.viewDidLoad() self.modalPresentationStyle = .overFullScreen self.view.backgroundColor = UIColor.clear }