iPad UIImagePicker 相机教程
我在 google 上寻找完整的教程,并寻找有关使用 UIImagePicker 从相机获取图片以及从 iPad 2 上的库或相机胶卷获取图片的完整示例堆栈。
我找到了代码片段,说明只需添加 PopOverController中,但未能成功实施。
提前致谢。
I have looking for a complete tutorial on google and stack of a complete example on using the UIImagePicker to get a picture from the camera and a picture from the library or camera roll on the iPad 2.
I have found code snippets saying just add the PopOverController in, but have not been able to implement it successfully.
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这对我有用。
This worked for me.
我这样做我检测 iPhone 或 iPad 以及弹出窗口中显示的 (self.album.bounds) 只是您希望弹出窗口箭头出现在这种情况下 self.album 是触发以下操作的按钮
I do it like this I detect if iPhone or iPad and in the popover where it says (self.album.bounds) is just were you want the popover arrow to appear in this case self.album is the button that fires the below action