Nativescript: Changing ActionBar title after page is loaded does not show the ActionBar

Created on 20 Nov 2015  路  3Comments  路  Source: NativeScript/NativeScript

Setup:

  • Frame.ios.navBarVisibility is "auto" (which is the default value)
  • ActionBar doesn't have items
  • ActionBar title is set after page is loaded (e.g. try with setTimeout)

ActionBar is not shown but is should be.

bug done ios medium

Most helpful comment

Is this really fixed or just forgotten? I tried setting the title in the XML template but it did not work, much less does it change when the binding is modified. I also tried setting the title in JS/TS by assigning to the title property of the ActionBar and using set(propName, value) on the ActionBar but the title was not updated in the apps UI. The only thing that worked for me was calling the ActionBar's update() method after changing the title programatically.

All 3 comments

Is this really fixed or just forgotten? I tried setting the title in the XML template but it did not work, much less does it change when the binding is modified. I also tried setting the title in JS/TS by assigning to the title property of the ActionBar and using set(propName, value) on the ActionBar but the title was not updated in the apps UI. The only thing that worked for me was calling the ActionBar's update() method after changing the title programatically.

Any updates here?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nirsalon picture nirsalon  路  3Comments

fmmsilva picture fmmsilva  路  3Comments

Pourya8366 picture Pourya8366  路  3Comments

guillaume-roy picture guillaume-roy  路  3Comments

NickIliev picture NickIliev  路  3Comments