如何在UiView中添加UIImagePickerController
如何在TabBarApplication中的UiView中添加UIImagePickerController
How to add UIImagePickerController in UiView in TabBarApplication
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在选项卡中,此代码将进入您的视图的 ViewController 类,
当您需要一个选择器时创建一个选择器
添加选择器
您的视图控制器需要像这样声明
并且您需要实现
(第一个应该从信息对象获取图像)
在每条消息中,完成后,删除选择器
It doesn't matter if you are in a tab, this code goes into the ViewController class for your view
Create a picker when you want one
Add the picker
Your view controller needs to be declared like
And you need to implement
(the first one should get the image from the info object)
In each of those messages, when done, remove the picker