cameraOverlayView 在 UIImagePickerController 中裁剪结果
当我将 UIImagePickerController
与 cameraOverlayView
结合使用时,我可以从叠加视图中获取唯一的选定区域吗?
When I use UIImagePickerController
with cameraOverlayView
, can I get the only a selective region from my overlay view?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
或者,您可以像这样覆盖您的cameraOverlayView的
- (void)drawRect:(CGRect)rect
(未经我的测试):我在我的 Faces 应用程序中做了类似的事情(http://faces.pixelshed.net/)。如果其中一个步骤似乎不清楚,请随时发表评论。
Alternatively you could overwrite your cameraOverlayView's
- (void)drawRect:(CGRect)rect
like this (untested out of my head):I have done something similar in my Faces app (http://faces.pixelshed.net/). Feel free to write a comment if one of the steps seems unclear.