1.新建一個(gè)xib文件
2.在xib中點(diǎn)擊左側(cè)File’s Owner ,點(diǎn)擊右側(cè)inspector 在class中寫(xiě)入該類控制器
3.在右側(cè) connections inspector ?outlets ?按住control 并連接view,
4.ok
1.新建一個(gè)xib文件
2.在xib中點(diǎn)擊左側(cè)File’s Owner ,點(diǎn)擊右側(cè)inspector 在class中寫(xiě)入該類控制器
3.在右側(cè) connections inspector ?outlets ?按住control 并連接view,
4.ok