I would like to be able to capture an image (or choose an image from the photo library) and upload it to a remote server using Monotouch. I am not sure how to obtain and encode the image or how to upload the image and I am having difficulty finding relevant ins开发者_StackOverflow中文版tructions. Can you help me get started? Thank you.
Here's a full example in MonoTouch
https://github.com/migueldeicaza/TweetStation/blob/master/TweetStation/UI/Camera.cs
What you are looking for is the UIImagePickerController. Here is a screencast on how to use it in Monotouch.
精彩评论