Skip to content

Commit

Permalink
fix(ios): largeTitleDisplayMode always is not working in iOS 14 (#12490)
Browse files Browse the repository at this point in the history
Fixes TIMOB-28361
  • Loading branch information
vijaysingh-axway committed Feb 24, 2021
1 parent 2b21a5d commit 26b5bfe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ - (void)setLargeTitleEnabled:(id)value

if (shouldUpdateNavBar && controller != nil && [controller navigationController] != nil) {
[[[controller navigationController] navigationBar] setPrefersLargeTitles:[TiUtils boolValue:value def:NO]];
[[[controller navigationController] navigationBar] sizeToFit];
}
}

Expand Down

0 comments on commit 26b5bfe

Please sign in to comment.