xcode - How to call a method defined in a UIView controller from a UIView placed within the ViewController -
how call method defined in uiview controller uiview placed within viewcontroller.
if isn't possible how make button placed within uiview call segue?
spent hours trying figure out.
so took me day managed find simple workaround.
in uiview.h create uiviewcontroller property , in viewcontroller set uiviews property .self .
having done within uiview can access property , there call prepare segue.
Comments
Post a Comment