My first xcode view controller does not act like t

2019-01-27 11:38发布

Right now I have this picture.
It shows me being able to drag the button into viewcontroller.swift Using the root View Controller.

Next please take a look at this picture.
This picture shows me not being able to drag the button into viewcontroller.swift using my 3rd View Controller.

May someone please help me? I don't know how to fix it.

1条回答
爷的心禁止访问
2楼-- · 2019-01-27 12:01

For every view controller in storyboard you need to associate it with a view controller class. and component of one view controller in drag-able only its associated view controller class. what I understand you are trying to drag component of one view controller to not associated class.

Select Automatic option on when active assistant coding page.

查看更多
登录 后发表回答