单点触控相机图像捕获和上传
我希望能够捕获图像(或从照片库中选择图像)并使用 Monotouch 将其上传到远程服务器。我不确定如何获取和编码图像或如何上传图像,并且我很难找到相关说明。你能帮我开始吗?谢谢。
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 instructions. Can you help me get started? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是 MonoTouch 中的完整示例
https://github.com/migueldeicaza /TweetStation/blob/master/TweetStation/UI/Camera.cs
Here's a full example in MonoTouch
https://github.com/migueldeicaza/TweetStation/blob/master/TweetStation/UI/Camera.cs
您正在寻找的是 UIImagePickerController。 这里是有关如何使用它的截屏视频在单触摸中。
What you are looking for is the UIImagePickerController. Here is a screencast on how to use it in Monotouch.