![](/img/trans.png)
[英]How do I set custom navigation bar(title + titleView) for all navigation controllers and view controller?
[英]How do I set the Navigation Bar Title as a editable text field?
我希望用戶能夠編輯導航欄的標題。 我覺得我以前在應用程序中看到過它。 這可能嗎?
如果您使用的是UINavigationController
然后玩
self.navigationItem.titleView = // UITextView
您將必須自定義您的navigationBar
欄並將UITextField
添加為子視圖,並相應地放置它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.