Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27263

iOS 13: Modal windows with large titles do not honor barColor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 8.2.0
    • Fix Version/s: Release 8.2.0
    • Component/s: iOS
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2019 Sprint 18, 2019 Sprint 19

      Description

      On iOS 13, modal windows with large titles do not honor their barColor property. Natively, it seems like iOS 13 receives it's modal bar color from the background (see native app attached), but doing the same in Titanium also doesn't work. Here is what I tried (both with backgroundColor and barColor):

      var win = Ti.UI.createWindow();
       
      var btn = Ti.UI.createButton({
          title: 'Open VC'
      });
       
      btn.addEventListener('click', function() {
          var win2 = Ti.UI.createWindow({ backgroundColor: 'red', title: 'Hello', largeTitleEnabled: true });
       
          var nav = Ti.UI.createNavigationWindow({
              window: win2
          });
          
          nav.open({ modal: true })
      });
       
      win.add(btn);
      win.open();
      

      In addition, it seems like Titanium applies the default bar tint color different to native iOS, which should be investigated in a different ticket!

        Attachments

          Activity

            People

            • Assignee:
              vijaysingh Vijay Singh
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Jan Vennemann
              Tester:
              Lokesh Choudhary
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code