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
.
This question is related to
ios
objective-c
swift
storyboard
Source: Stackoverflow.com