using default iOS camera button as a UIButton - ios

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?

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:
PS:
You also can get a third-party icon for your needs, e.g. from http://www.glyphish.com/

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

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

Related

iOS8 - Crop and Straighten image as built in photos tool

In my app, i want users to click a photo, then i want to allow them to edit it for crop/rotate/straighten. Can i use built-in photos app for that? or is there any open-source/api to have similar view controller.
I know it's a possible duplicate of Is there a view controller for image crop and rotate works like iOS 8 photo.app? but i found no answer here as well.Please let me know if it's possible?
Unfortunately, no.
UIImagePickerViewController allowEditing property, when set to YES, provides you a very simple cropping UI, but it doesn't support advanced rotation as iOS Photo app.
So you'll have to make it yourself.
The github projects in the question you linked might be a good starting point for that. (here's another one)
Good luck !
I wrote one in Swift, you can continue to develop based on this: QCropper

How do I place a sort of guideline mask when the user takes a picture in iOS?

How do I add to my iOS app some sort of guideline to tell the user something they should take a photo at, like a face?
It's not Swift, but perhaps it may help you:
Ios creating simple camera overlay in Xcode how?
As dreamzor says here, there is a property of UIImagePickerController called cameraOverlayView. It's an UIView, so you need to create one and put your PNG to the background of it, then assign it to this property of your picker.

Ios default icon for open view from list

In every ios app you can have a list that contains elements with subelements.
Tapping on the element will open a new page and you can usually press back to return.
This is indicated with a grey ">" symbol on the right.
Is this symbol downloadable somewhere? I know i can just type a > but it doesn't look exactly like the default icon used by ios.
I'm using Xamarin dialog and a standard RootElement embedded as a list item looks exactly like the default ios but i need to customize it with an icon placed left of the text(which is no problem except that i now lose the default > icon).
Googling for ios system icons, ios default icons and ios sdk did not yield the wanted result. I'm hoping that these icons are somewhere embedded on the device.
I hope you guys can help me out, thanks !
As far as I know there is no way to access a UIImage instance of the chevron during run time. Most likely there is private API for this, but I am not aware of it, and since it's private you are not allowed to use it anyway.
You could probably instantiate a cell that has the disclosure indicator as accessoryType and walk the view hierarchy to find it. But that will break easily, so don't do it.
The best way is to add an image and update it with every new iOS release.
There's the iOS Artwork Extractor which basically gets you every piece of artwork that is used in iOS.
The artwork you are looking for should be named UITableNext. (at least that's the name in iOS6, I don't have an extracted archive of iOS7 yet)
Strictly speaking you are violating Apples rules and their copyright if you use their artwork without Apples written consent.
As far as I know this has never been enforced, and lots of people do it, but it's good to keep it in mind.

How do I add a user background into the app with a blur effect in iOS 7?

Basically I want to know if it's possible to add an effect similar to when you open Newsstand with no magazines and you encounter an effect where you can kind of see the user wallpaper with a blur effect added onto it.
I sort of managed to get the wallpaper onto the app with a few .plist settings changes, but want to know if theres a better way that also adds the blur effect.
regards,
Patricio
You can use the UIImage category that Apple provides in its sample code, that allows you to blur a UIImage with a variety of styles and colours.
https://developer.apple.com/downloads/index.action?name=WWDC%202013
Search the page for UIImageEffects, download it. Open the project, and you'll find a UIImage category you can move to your project.
More on this topic can be found in the Engaging UIs in iOS7 WWDC 2013 talk.

What is Apple's take on using hidden icons from UIKit

There is a project on GitHub (UIKit-Artwork-Extractor) that extracts images from UIKit. What is Apple's take on when using these images in your application. I'm planning to use the exclamation mark icon when a message is not successfully sent for example.
I think there is no difference between extract the icons from the UIKit or to create exactly the same icon in graphic editor. In the iOS Human Interface Guidelines guidelines is written:
Avoid using iOS interface elements in your artwork. You don’t want
users to confuse your icons or images with the iOS UI.
But if you want to use for example Action button image or Back button image, I think it is completely OK if it does exactly, what the user expects.
Hope it helps

Resources