AnsweredAssumed Answered

EnableLabels on feature layer crashes iOS 9.3

Question asked by paul.haakma on Jul 10, 2016
Latest reply on Jul 13, 2016 by NManocha-esristaff


Hi.

 

Am wondering if anyone else can replicate this crash? From what I can see, it seems to have appeared since the AppStudio upgrade to 1.2. The code below works on a desktop PC, and used to work on iPads (running up to 9.3 that I'm aware of), but new builds from AppStudio 1.2 crash.

 

The problem appears to the 'enableLabels' line in the featurelayer which, if set to true, crashes the app when running on iOS 9.3.2 (tested on iPad and iPhone 6).

 

If you can replicate, please let me know, and if you can think of a workaround - this could be a major problem if labeling if suddenly not usable on iOS devices!

 

import QtQuick 2.3

import ArcGIS.AppFramework 1.0

import ArcGIS.AppFramework.Runtime 1.0

App {

    id: app

    width: 800

    height: 532

    GeodatabaseFeatureServiceTable {

        id: featureServiceTable

        url: "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/FeatureServer/2"

      }

    Map {

        id: map

        anchors.fill: parent

        focus: true

        ArcGISTiledMapServiceLayer {  url: "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"  }

        FeatureLayer {

            enableLabels: true;

            featureTable: featureServiceTable

        }   

    }

}

 

Outcomes