“loaded nib but the view outlet was not set” exception

后端 未结 6 2000
别那么骄傲
别那么骄傲 2020-12-06 00:41

I am trying to use UINavigationController. I have two views which are being created programmatically. When a UIButton is pressed on the first v

6条回答
  •  死守一世寂寞
    2020-12-06 01:13

    follo following steps

    1) open your xib file then right click on files owner and drag to your first view

    enter image description here

    2) then bind that view with outlet of "view"

    enter image description here

    hope you will get it...

提交回复
热议问题