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
Post a Comment