ios - present viewController inside custom view in swift -


i have custom view (sort of menu), contains button. want open new view controller clicking button. how can write method in view class? problem can't present vc inside view.

you need viewcontroller. write own protocol methods , handle on those, or use nsnotification communicate between view , controller.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -