I have an Android app that works perfectly and am trying to port it to IPhone, however am having some serious issues. One of the issues is that whenever I make web service calls using the httpclient it errors out and crashes the app:
wNCSFNumber stringByreplacingOccurrencesOfString:withString:]: unrecognized selector sent to instance
My httpclient code is fairly standard, what am I missing?
var loader = Ti.Network.createHTTPClient(); loader.onload = callbackFunction; loader.onerror = ajaxError; loader.open("GET", url); loader.send();
did you put logging in onload AND onreadystatechange? there is a bug that requires you to have onreadystatechange defined i think
See this Question, about halfway down the page