Question

I am trying to replicate the iPad passcode view. Which basically is a popover with no arrow direction, that locks the background view kinda like a modal view controller.

My question: Is there a way to lock the underlying background view when presenting a popover.

My idea: The only real solution that i could come up with is placing that popover inside a modal view controller. and presenting it that way.

Thoughts?

Was it helpful?

Solution

Use the modalInPopover property of your view controller: http://developer.apple.com/iphone/library/documentation/uikit/reference/UIViewController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006926-CH3-SW72

This question provides some information on making a popover with no arrows, though it's not clear whether it's correct or not: UIPopover without any arrows

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top