Unable to connect IBOutlet from storyboard to UIView subclass

前端 未结 9 769
旧巷少年郎
旧巷少年郎 2020-12-05 10:11

I am able to right-click and drag from my custom UIView subclass file to the storyboard elements to connect them, but unable to do so the other way around. I believe this is

9条回答
  •  离开以前
    2020-12-05 10:46

    I've resolved my issue by following process.

    1. Connect your Storyboard view with any other ViewController.
    2. Now, reconnect your desired ViewController with storyboard.

    Hope this will work for you!!

提交回复
热议问题