D
D
Darkness2020-01-07 20:44:47
iOS
Darkness, 2020-01-07 20:44:47

How to make a view child vc like in the screenshot?

I understand what can be done through the view container, but I don’t understand how exactly. I myself am a complete newbie to Swift, and I don’t understand how to properly implement this controller.
I will be glad to articles, videos and clippings!
5e14c3557a8cc341694474.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Vorobei, 2020-01-07
@AntonBrock

In the screenshot you just push a new controller, I'm sure you know how to do it.
Probably. do you want to show modal controller on top of parent with custom animation? You need to implement UIViewControllerTransitioningDelegate . It has an excellent division into layout, animations and lifetime.
The first links from Google on the topic: tyts , tyts and tyts .
A year ago I made a custom presentation for controllers, you can check out the code on GitHub .
If I misunderstood what you want to do, please elaborate.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question