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.
Ctrl-dragging IBOutlet from UIView inside ViewController
-
26-06-2022 - |
سؤال
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?
المحلول
لا تنتمي إلى StackOverflow