Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top