开发者

Monotouch Camera Image Capture and Upload

开发者 https://www.devze.com 2022-12-19 16:04 出处:网络
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 uplo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消