My problem now is how to handle everything after a comment is posted. Right now the app shows the "normal" website with the indication that the comment was successfully or unsuccessfully posted, which is not very beautiful. At this point I would like to use HTML statuscodes to fire up a pop-up which tells the writer what has happened. I already do that in my app for example with Twitter. Something like this:
Code: Select all
if (statusCode == 200) {
showMessage @"Tweet successfully posted."; }
else if (statusCode == 401) {
showMessage @"Tweet could not be posted."; }
...