NSInternalInconsistencyException, reason: Could not load NIB in bundle

后端 未结 8 2109
轻奢々
轻奢々 2020-12-03 08:55

I\'ve gone through a bunch of answers regarding this problem but none seem to relate to my problem.

I have two views, View 1 has a button. View 2 has a button.

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-03 09:22

    You can try and check the below scenarios for the exception:

    1) If nib file is missing then add the same in your Xcode

    2) Put a check inside IBAction method before dismissing, refer this

提交回复
热议问题