Can't connect IBOutlet in Interface Builder

前端 未结 19 2053
别跟我提以往
别跟我提以往 2020-12-04 20:02

I\'m having a weird experience. I create any type of iPhone application, add a UIViewController with Xib file. I can edit the xib file with controls and see them rendered if

19条回答
  •  温柔的废话
    2020-12-04 20:11

    Are you sure the File's Owner is correctly set to your custom UIViewController and that you've saved your .h file after having added the IBOutlet keyword to the instance variable and property?

提交回复
热议问题