You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS] Flat action bar messes up style of UIDocumentInterationController #5768
If you have a normal action bar, when you use utils.ios.openFile the presented UIDocumentInteractionController inherits the color of the action bar on the page. But as soon as apply flat="true" to the action bar this no longer works like that and the action bar resets to the default one in the UIDocumentInterationController.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
CLI: 3.4
Cross-platform modules: 3.4
Please tell us how to recreate the issue in as much detail as possible.
https://play.nativescript.org/?template=play-tsc&id=l8dFks&v=2
Tap on download file and wait for the file to open. The action bar will turn back to the default one. Also when you navigate back to the page there is an ugly "flickering" from the default to the red styled action bar.
Activity
PeterStaev commentedon May 2, 2018
Workaround
Set the action bar's flat property to
falsebefore opening the file and then set it back totruePeterStaev commentedon Jun 7, 2018
With 4.1 seems this issue is now non-relevant. Now when you open a file it seems to open it in a modal dialog which uses the default white action bar.