问题
I am trying to add action segue by dragging a button on one screen to another in Xamarin Studio on Mac. According to instruction provided by Xamarin university, this should create action segue. My exact steps are
- Click on Control key
- Select button on 1st screen
- Drag it to the 2nd screen
- Release mouse and Control key
This should show a little popup prompting you to select type of segue (Push, Modal, or Custom). In my case, the popup shows very briefly, so I have no time to select the type.
回答1:
It turns out that after restarting Xamarin Studio, I was able to get the popup stay so I can make my selection. I have noticed that Xamarin Studion seem to have strange issues like this and the solution is often to close solution, quit Xamarin studio, restart it, reopen solution and try again.
回答2:
Try use XCode for for modifying storyboard. I always use XCode for editing storyboard and placing my layout and after that name my control using Xamarin Studio by using Document Outline
来源:https://stackoverflow.com/questions/40859517/xamarin-ios-designer-creating-action-segue-not-working