I'm trying to create a form sheet model on the iPad, which should be 540x620 modal view.
I have created a visual controller with a NIB file that has a 540x620-sized UIView (with accessories along with it).
I have set the model presentation style to UIModalPresentationFormSheet
, and call presentModalViewController: animated:
on the current code controller.
Slides down my view, but instead of having a form sheet, it takes the whole screen (my visual element has anchors in the upper left part of the screen).
Even strangers, when I dismiss it, all the UIs that were "down" are all taken out to stay in the center, almost a form in the center of the screen In the area of sheet size.
Thanks
Itemprop = "text">
It explained that I Parents were setting the Model Presentation style on view controller - it needs to be set on the newly created child controller to think of it as a child's asset No need of parental control
I will remove this question, but I will leave it as a guide for the future. >
Comments
Post a Comment