UIAlertController like Contacts iOS 10 Contact app - iphone

I want to implement action sheet like the image. How that can be achieved?

Related

iPhone app Button style like "add to homescreen" button

i'm new in iphone app developing,
and i just wanted to create a buttonbar like this on the left screenshot.
http://www.internet-fuer-architekten.de/files/iphone_app-simulation2.png
What kind of buttons are these?
The only buttons i can find in xcode are the "Round Rect buttons" and the "Toolbar Buttons". But both of them do differ to the buttons on the screenshot.
I saw this Buttons in many apps on my iPhone, so i thought they must be Buttons from IOS.
Does anybody know, how to get this buttons?
Thanks, guys.
The left screenshot shows an UIActionSheet. You can use this class to make similar action sheet popups, but if you'd like to use that button style outside of an UIActionSheet class, you'll have to create a custom UIButton with background image.

UIPickerView with UIButtons?

I can't seem to find it anywhere, I don't know if its a pre-built object apple offer or if people custom build them.
When in an iPhone app you tap a button and then up it slides, a view which looks like a UIPickerView in visual style but has a list of buttons on it.
What is this, how could I make one? Also, on iPad, similarly, the popover view with a list of buttons. Thanks.
Are you looking for UIActionSheet ?

Apple concern over customized UIAlertView in iPhone Application

I have used UIAlertview in the iPhone application that is customized a little bit.I have added three buttons in the UIAlertview and some text in between two buttons.
Please let me know if apple have any concerns if UIALertView is customized with text in between two buttons.
UIAlerView screen is as described below,
Title Alert Message
First Button
Second Button
(Text message)
Cancel Button
I cant attach image here as i need to get more than 10 reputation points here.
Thanks in advance.
In my experience I've had no issues with modifying UIAlertViews in any way. I don't think Apple will care.

Let user reorder buttons in a UIView

I have a view in which there are 6 buttons. I want to let user reorder the position of these buttons as I can do in the screen of the iphone with the app icons. The user could drag a button to the position of another button and change its position in the view.
Facebook app has this functionality with its icons too.
Any idea?
Thanks.
What you are looking for is the Three20 Launcher.

How to display badgeNumber at UIButton

I am developing iphone application, I have a home page, with buttons (icons), I have an icon for notifications, I want to display a badge number on it to determine how many new notifications user has. How I can do that for UIButton? I checked the SDK and found only UITabBarItem has badge value.
I found this helpful: http://wiki.github.com/tmdvs/TDBadgedCell/using-the-class
I used it to create my own badged button.