Posts by Paul Brown

02 Feb 2012, 15:55
Generic-user-small

Paul Brown (1 post)

(from iOS Recipes > BasicHTTPPost and numbers)

I’ve tried a variety of things here with no success. I have an iPad app, and I am wanting to log the number of touches it gets for a given period of time. Then I want to send those statistics via this BasicHTTPPost method. I can submit strings all day long, but the number of touches is stored as an int. NSMutableDictionary apparently only holds objects. I’m fine with that. I tried converting my int to an NSNumber, but my app still crashed.

So, how can I use this method to submit numbers via an HTTP POST?

Thanks for any advice.

1 post