سؤال

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