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

iOS: clipMode works on Simulator, fails on device

    Details

    • Sprint:
      2014 Sprint 12 SDK

      Description

      When I run the following code on both simulator and device, the first one does the clipping, but the second one fails, as screenshots show:

      Ti.UI.setBackgroundColor('#000');
       
      var win = Ti.UI.createWindow({
        backgroundColor: 'red'
      });
       
      var clipper = Ti.UI.createView({
        width: 100,
        height: 100,
        clipMode: Ti.UI.iOS.CLIP_MODE_ENABLED,
        backgroundColor: 'blue'
      });
       
      var view = Ti.UI.createView({
        width: 300,
        height: 300,
        backgroundColor: 'green'
      });
       
      clipper.add(view);
      win.add(clipper);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              fokkezb Fokke Zandbergen
              Reviewer:
              Sabil Rahim
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18857
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration