简体   繁体   English

从图库或相机中选取图像的菜单 IOS

[英]Menu to pick up images from gallery or camera IOS

I've been searching for the IOS menu name to pick up images from user gallery or activate camera.我一直在搜索 IOS 菜单名称以从用户图库中获取图像或激活相机。 My intention is to show this menu once the user touches an UIImageView to select an image for his app profile.我的目的是在用户触摸 UIImageView 到 select 图像作为他的应用配置文件时显示此菜单。

Sorry to ask but I wasn't successful searching information.很抱歉问,但我没有成功搜索信息。

Thanks谢谢

and a nice tutorial on this subject that I found useful:和我发现有用的关于这个主题的一个很好的教程:

http://www.roseindia.net/tutorial/iphone/examples/PhotoLibrary.html http://www.roseindia.net/tutorial/iphone/examples/PhotoLibrary.html

The UIActionSheet class is used for this purpose. UIActionSheet class 用于此目的。 Here's link to Action Sheets in Apple's HIG and API reference .这是Apple 的 HIGAPI 参考中的 Action Sheets 链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM