I'm just getting my feet wet with the iOS esri examples (github). I had a quick question about the OfflineFeatureEditingSample. When/if I click the PLUS icon " + " the simulator and/or my device (phone) just goes black. It doesn't matter if I'm in disconnect or not. What should this button do? Is it to add a new feature? Is this a bug in the example or am I missing something.
Thanks
OK Michael was correct...the new sample doesn't have the "Bar Button Item - Add" connected to the addFeatureAction. I added the connection and now all is working. I will make a push request using Github.
Hello there,
Welcome to the ArcGIS Runtime SDK for iOS world. The sample works fine on my side. I wonder which version of the ArcGIS Runtime SDK for iOS are you using? Make sure using the latest version 10.2.3 ArcGIS SDK for iOS 10.2.3
Then, download the latest version of the sample code on Esri Github Esri/arcgis-runtime-samples-ios
Also, make sure using XCode 5 and iOS 7 SDK (or higher) are required to develop applications with ArcGIS Runtime SDK for iOS. Please check this link: System requirements—ArcGIS Runtime SDK for iOS
For the Plus icon, yes you are right, that is add new features on the map. The categories based on the feature server.
Here are the screenshots (Left: the main screen ; Right: once click the "+" button):
Hope this can help.
Best Regards,
Hey Thanks Yue Wu,
Yes I have the newest SDK installed 10.2.3.
I have XCode 5 and 6.2 beta and both produce the same results.
The application runs fine and all the functionality works except the add feature button.
I have the latest Github example, just forked it yesterday.
The other thing I'm questioning is I was going through the ESRI/ArcGIS configuring your xCode project doc and it talked about adding dependent frameworks and libraries:
The ArcGIS framework depends on the following frameworks and libraries. Add them to your project's settings:
These are not added to this project..I'm looking under Build Phase - Link Binary With Libraries and there are 0 added.
If I try to add them, click the plus button and go through the list, I can't seem to locate a few key frameworks (AppKit, Cocoa, Quartz, QTKit, and OpenGL
Any ideas.
Hmm... That's a little strange. Have you changed any code behind?
I would suggest to unzip a new OfflineEditingSample and deploy again. You shouldn't have to worry about those framework, those are only needed when creating a new project from scratch.
No code behind has been changed. I downloaded the zip file and tried from there with the same results. If I plug in my iPadAir and deploy it to that the screen is all white (not black). What device or simulator are you deploying to?
It sort of looks like maybe the xib file is missing for the feature templates popup - if it uses a xib file. If the app is using storyboards something within the storyboard file might have been changed.
Sorry see my newest post above Michael's thanks.
Ok I found a copy of the sample that I download at the Dev Summit back it March and it works. The new sample was reworked to utilize story boards and not xib. The one I downloaded back in March uses xib files and the new one uses storyboard. I'm going to try and dig deeper into the cause but before I go down the rabbit hole Yue and/or Michael can you tell me if you are using the latest sample?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.