UIActionSheet...如何实现UIImagePicker?
我是 iOS 开发新手...我想在此视图上添加 3 个按钮:取消、从库中选择和从相机拍摄。 我已经知道 UIImagePicker 方法。 谢谢
I'm new to iOS developement... I want to add 3 buttons on this view: cancel, choose from library and take from camera.
I already know the UIImagePicker method.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ciao Davide,阅读
UIImagePickerController
类参考应该很有用:这里有 UIImagePickerController 类参考:
http://developer.apple.com /library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
这里有PhotoPicker示例代码:
http://developer.apple.com/library/ios/#samplecode/PhotoPicker/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010196
Ciao Davide, reading
UIImagePickerController
Class Reference should be useful:Here there is UIImagePickerController Class Reference:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
And here there is PhotoPicker sample code:
http://developer.apple.com/library/ios/#samplecode/PhotoPicker/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010196