Your screenshot shows "Mates Scene" but your class name is ViewController
. It also looks like "Mates Scene" has an embed segue to a ViewController
, so it looks like you might be trying to add an IBOutlet
to a child view controller from one of the parent view controller's views (the "Home Button").
If so, you can't do that. You may have meant to add "Home Button" to the class of your "Mates" view controller instead.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…