Question

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

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top