2017-04-23 20 views
0

我遇到問題,我無法將UISegmentControl拖動到控制器的導航欄中,有人可以幫助我?我無法將UISegment拖動到Storyboard中的控制器導航欄中

第1步:

enter image description here

第2步:

enter image description here

爲什麼我不能UISegment拖到我的導航欄?


編輯

這是我的控制器的文檔大綱:

enter image description here

+0

你可以跟我分享一下Document Outline嗎? – aircraft

+0

@aircraft什麼是文檔大綱的含義? –

+0

點擊第一張圖片的左下角按鈕即可看到它。將控制器的提綱快照給我們。 – aircraft

回答

0

控制器不具備導航項目,所以你不能把它添加小部件。

enter image description here

所以,你應該先拖動的導航項目。

enter image description here

然後拖動UISegmentedControl。

相關問題