ios - How to set title of navigationitem which have titleview for some conditions -


i have navigationitem titleview. in conditions want use title property navigationitem. how that? idea?

here have tried, not working:

self.revealviewcontroller().navigationitem.titleview = uiview.init()  self.revealviewcontroller().navigationitem.title = "my item" 

before set title, need set titleview nil.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -