Can someone explain to me what is the exact difference between modal
and push
segue?
I know that when we use push
the segue gets added to a stack, so when we keep using push
it keeps occupying memory?
Can someone please show me how these two are implemented?
Modal
segues can be created by simply ctrl-click and dragging to destination but when I do that with the push
my app crashes.
I am pushing from a button to a UINavigationController
that has a UIViewController
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…