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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -