I have a generic UIViewController which has multiple uses. It can be instantiated for 6 different ways as it is designed to be very generic. Let us call this multipurpose viewcontroller as MultiPurposeViewController.
Type1VC = MultiPurposeViewController()// initiated differently self.navigationController.push(Type1VC)
Type2VC = MultiPurposeViewController()// initiated differently than before self.navigationController.push(Type2VC)
Is it allowed to do an operation with a navigation controller?
- Will such an operation cause any memory issues?
- Is such an operation allowed when dealing with
- Has anybody encountered such a scenario of stacking multiple instances of the same
UINavigationControllerstack without having any memory leaks?