Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望用户能够编辑导航栏的标题。我觉得我以前在应用程序中看到过它。这可能吗?
如果您使用的是UINavigationController然后玩
UINavigationController
self.navigationItem.titleView = // UITextView
您将必须自定义您的navigationBar并将其添加UITextField为子视图,并相应地放置它。
navigationBar
UITextField