I'm setting self.window.rootViewController.modalPresentationStyle = UIModalPresentationCurrentContext;
in my Application Delegate so that I can present a view controller and have the view be transparent (see this SO question).
This works great, only remark is that I'm not able to animate when the view controller is presented. Has anyone gotten this to work? If not, what other options do I have?
The view controller I'm presenting is a "walkthrough" that consists of a UIScrollView
and UIPageControl
that is supposed to "hover" over the interface so you can see the background of it slightly at the edges.
You could use a containment view that exists in the base view controller. Instead of presenting a modal, animate the positioning of the containment view up to simulate a modal presentation.
For example...
To present do this:
I hope this helps.
I ended up doing this: