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
Solved! Go to Solution.
Thanks Yue,
Sorry for the confusion I have Xcode 5 with iOS 7 on my machine along side xCode 6 beta 4 with iOS 8. I'm testing on both and getting the same results...actually the Xcode 5 iOS 7 crash in iPAD and when I move an existing point with the phone simulator so the sample seems more riddle with iOS7 than iOS8(on my machine). Here a few screen shots of the same with Xcode 5 and iOS7.
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?
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.
Thanks
Hi there,
Glad to you make it work. However, I just tried to download a new file of our sample from Esri/arcgis-runtime-samples-ios · GitHub And using both iPad and iPhone simulator to test are both works fine. The storyboard has the addFeatureAction as well. I am pretty sure the sample code works fine. But anyway, it is good that the sample works on your side.
Best Regards,
This is why storyboards drive me nuts - you can't diff a storyboard file (or a xib for that matter). This makes any sort of collaborative development using a repo very difficult.