I´v included a image for illustrative purposes, Looking at the picture there is a UIView with a UIImageView inside it on the left. On the right I got the Controller for the Custom UIView - but ctrl-dragging IBOutlets does not work - is there a fix?

enter image description here

enter image description here

有帮助吗?

解决方案

I think you are dragging to the wrong class. You are trying to drag to a UIView subclass, but you probably want the UIViewController subclass instead.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top