Solved! Go to Solution.
I mean Feature dont show up on map and query doesnt return anythying...works perfect on Android and on Cell network when I am on Iphone. I am seeing this problem only on IOS on WIFI...
THanks
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:ns="http://www.esri.com/2008/ags" actionBarVisible="false" title="HomeView"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <ns:Map level="14" zoomSliderVisible="false"> <ns:center> <ns:WebMercatorMapPoint lon="-122.442594" lat="37.760715"/> </ns:center> <ns:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer"/> <ns:FeatureLayer url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/0"/> </ns:Map> </s:View>
I converted one of my flex app to IOS/Android native apps using Flash builder, flex 4.6 and ESRI Flex API 3.1
IT work as it suppose both in browser and on Android but feature layer and query doesn't work on IOS. (App works fine in simulator but not on device).
Very Strange Behavior: It works on 3g OR Cell network but not on WIFI. Query and featureLayer is not working on WIFI.
Any thoughts? is it a bug or?
When you say it doesn't work? What exactly is not working? Are you receiving errors?
I mean Feature dont show up on map and query doesnt return anythying...works perfect on Android and on Cell network when I am on Iphone. I am seeing this problem only on IOS on WIFI...
THanks
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:ns="http://www.esri.com/2008/ags" actionBarVisible="false" title="HomeView"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <ns:Map level="14" zoomSliderVisible="false"> <ns:center> <ns:WebMercatorMapPoint lon="-122.442594" lat="37.760715"/> </ns:center> <ns:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer"/> <ns:FeatureLayer url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/0"/> </ns:Map> </s:View>
Are you using an iPhone 5 or iPad mini? If so, iOS 6.0.2 may help:
http://support.apple.com/kb/DL1621