ios - iPad Modal "Log In" View -


i've never developed ipad before (just iphone) , there views see on ipad cannot on iphone. specifically, i'm trying create modal 'login/register' type view , i'd mimic , feel of log in view in zillow ipad app.

in zillow when press 'log in' (or settings matter), background darkens , window appears in middle of screen modally flip animation it's horizontal axis. here given view containing buttons, text fields, toggle switches, etc.

is there cocoa class type of view on ipad? can have regular uiviewcontroller not take entire screen , display 'on top' of root view controller?

edit: discovered in view controller attributes inspector, under simulated metrics size, there form sheet option looks similar going for. these display on-top of root views?

enter image description here

you present view modally, or in storyboard, modal segue. in inspector segue, can change presentation default "form sheet".

if you're doing modal presentation in code, can set modalpresentationstyle property of controller you're presenting uimodalpresentationformsheet.

as said in edit, in storyboard, can change size of view want present setting size in simulated metrics "form sheet". however, has no effect on size view appear @ run time. it's used can layout view visually. need use 1 of ways mentioned above view appear @ form sheet size.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -