EXC_BAD_INSTRUCTION error

后端 未结 2 1114
野性不改
野性不改 2021-01-27 09:41

I know that there are a lot of questions about this error, but I haven\'t found solution for my problem, even if I read most of them. In view controller I\'m trying to make my t

2条回答
  •  生来不讨喜
    2021-01-27 10:07

    If your error is like this

    Then it is because you have not hooked up your outlets, to do this go into the storyboard / nib and hook it up like so:

    Make sure they are valid by seeing the circles become solid:

提交回复
热议问题