-1

I have an issue when I dragging and dropping from Assistant Editor to code button that button has automatically set Object to Exit but I need to set to View Controller. The issue is in the picture below. Is there any solution to solve it?

Issue in xCode

  • Unclear what you did to generate that screen shot. On my machine, the Exit listing is a popup menu that you can click to change it to View Controller. – matt Dec 30 '19 at 23:26

1 Answers1

0

You could do this in two ways. When you are in the storyboard/xib screen the easiest approach is to hold the Ctrl key and at the same time select and drag from button to the assistant view. Do it like below:

enter image description here

enter image description here

Misha Akopov
  • 12,241
  • 27
  • 68
  • 82