I'm working on Master-Detail Application
(Swift
) with two UITableViewController
's as master and detail.
When I click cell in master
, I'm redirected to detail
, this part works as expected, but in details
view I don't see navigation bar, which is a problem.
Question
How can I show navigation in detail
view ?
You can select each Table View Controller in the Story Board, then go to Editor
=> Embed in
=> Navigation Controller
. If you do this for each detail
view, you should be able to see the navigation bar appear.
Also, have you taken a look at this answer: https://stackoverflow.com/a/16254273/2730985 from Embed a UIViewController in a NavigationController using segues?
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다