I have a subclass of UIScrollView. This custom subclass has a method that is supposed to initialize opening of a new UINavigationController. I understand that subclasses do not deal with this type of approach but how would I handle this kind of scenario in an ideal way?
Share
I would think the ideal way to handle this would be to declare a custom delegate protocol method for your subclassed
UIScrollView. You would then set yourUIViewControllerwhich I assume is the parent to the custom scroll view and when it intercepts this delegate callback just do a simple: