I am having a strange problem. I am using a 3rd party web API, which is supposed to return a JSON object, that wasn't set up correctly. As a result, I have to reformat the "JSON" in order for Swift to recognize it as a JSON object. On the iOS simulator, the process of reformatting the JSON string takes roughly 2 seconds, but when I test it on my physical iPhone, it takes a whopping 25 seconds. Why is this? How can I fix it (make the JSON formatter faster on the physical device)?
IPhone : Function running faster on iOS simulator than on iPhone
on Wednesday, April 8, 2015
Labels:
Function running faster on iOS simulator than on iPhone I am having a strange problem. I am using a 3rd party web API,
I have to reformat the "JSON" in order for Swift to recognize it as a JSON object. On the iOS simulator,
that wasnt set up correctly. As a result,
the process of reformatting th,
which is supposed to return a JSON object
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment