Show UIViewController partially over a UIViewController with Swift -
i show uiviewcontroller on uiviewcontroller top of screen (for example, when button pressed) , shown of part of screen (for example 50%).
can done?
one view controller can present view controller modally. visual style of presentation can 1 of predefined ones uikit, or can set
presentingviewcontroller.modalpresentationstyle = .custom and implement custom animated transitioning not trivial task best if find step step guide or watch wwdc video that. in custom implemented transitioning class, controls position of presented view belongs presentedviewcontroller.
Comments
Post a Comment