mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Merge pull request #3953 from NativeScript/ios-nav-title
Ensure navigation title view is removed if undefined
This commit is contained in:
@ -93,6 +93,8 @@ export class ActionBar extends ActionBarBase {
|
|||||||
|
|
||||||
if (this.titleView && this.titleView.ios) {
|
if (this.titleView && this.titleView.ios) {
|
||||||
navigationItem.titleView = this.titleView.ios;
|
navigationItem.titleView = this.titleView.ios;
|
||||||
|
} else {
|
||||||
|
navigationItem.titleView = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find previous ViewController in the navigation stack
|
// Find previous ViewController in the navigation stack
|
||||||
|
Reference in New Issue
Block a user