Answer the question
In order to leave comments, you need to log in
How to make transition from .XIB to another View via Navigation Controller?
Guys, if I have an embedded xib widget in the main View, it has a button. How to force a button from a xib widget to press a button on the main view? I need to make a transition to another view controller via the navigation controller by clicking on the button in the widget. xib in another storyboard, you can’t tie it with your hands, how else - xs, I didn’t find such a lesson anywhere.
The problem is that the button works within its xib'a normally, print () works, etc., but I need to hang up an action on it, action = transition to another screen.
Directly from the widget, it’s not at all clear how to do this, but I can make a button in the main view (on top of which I have a xib on the half of the screen) and make this button a transitional Segway somewhere, but how then from .xib when clicking on .xib 'ovskuyu button to click on the button on the main view?
Answer the question
In order to leave comments, you need to log in
Which iOS? In iOS 8 there is a Storyboard Reference, which contains another Storyboard, if I understand the essence of the task correctly, then you can make a segue in SR and everything will work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question