Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using default iOS camera button as a UIButton

Tags:

ios

camera

I am a newbie at iOS development so please be kind.

I want to use the default camera button as a UIButton. (I want the camera button to be displayed against a field in my form and want to use the default graphic because users are familiar with it) I don't see any option to insert it as a simple UIButton, I don't want it in the toolbar.

If it's not possible to include it this way, can I use it's image as UIButton? Or it can cause any objection in the app review?

enter image description here

like image 885
Jibran K Avatar asked Apr 09 '13 13:04

Jibran K


3 Answers

You can use UIKit Artwork Extractor project to get internal iOS images from simulator, but I'm not sure if it's legal to use these images.

There are some examples:

enter image description here

enter image description here

PS: You also can get a third-party icon for your needs, e.g. from http://www.glyphish.com/

like image 172
Vitaly S. Avatar answered Oct 02 '22 22:10

Vitaly S.


You can use UIBarButtonSystemItemCamera from UIBarButtonItem. It is a UIBarButtonItem, not a UIButton, but it is the real deal.

like image 30
EthanP Avatar answered Oct 02 '22 22:10

EthanP


I ended up using a custom graphic which we owned to avoid any possibility of legal issues or app rejection.

like image 41
Jibran K Avatar answered Oct 02 '22 21:10

Jibran K