Custom UIActionSheets? - iphone

My question is one that I have been wondering for a while now, and I am ready to ask it. In my app, I have a flat unique design in which the default UIActionSheet design does not match.
My question is, how would I go about changing the design, or better yet: Could I create a UIView with the button(s) and add it to the view each time I want my custom created UIActionSheet to show?
Thank you for the help in advance!

Hi you can try this library :
BlockAlertsAnd-ActionSheets

Related

How would one implement a sliding 2 button menu like this from Lift?

http://imgur.com/3ZBCsDn
Can't post the image on the site but there it is.
I have been trying to find if this is a template or a separate nib file ala the page turn animation. Any help would be greatly appreciated.
That is called a UIActionSheet. It is created entirely in code, so it's limited to some pretty simple stuff (i.e. a few buttons, one of which is the cancel button, and one of which can be marked "destructive"). Just consult the documentation for the UIActionSheet class; it tells you all there is to know about it.
Also, here's the discussion in my book:
http://www.apeth.com/iOSBook/ch26.html#_action_sheet

Springboard-like menu to select other views in storyboard

I use a storyboard and I want to make a springboard menu like that http://static5.businessinsider.com/image/4d657896cadcbbd948120000-590/this-is-what-badoos-iphone-app-looks-like-when-you-first-launch-it-just-one-of-many-ways-to-use-the-service-smartly-you-can-do-things-without-registering-lets-look-at-people-nearby.jpg with only one page and nine icons.
I found the library Three20 but it is complex and I have problems to import it to my project.
Any suggestion?
Just for the people who are looking for the answer (it's hidden in the comments below the question);
me:
What exactly is the purpose of this springboard? Does it have to be dynamic? Do people drag things around? Can you delete stuff on it? If the answer is no for all of the questions; just place a few buttons on an empty page.. If the answer is yes on some of the questions; it's just as easy to write one yourself as it is to understand some open source framework (three20 has long passed its expiration date i.m.o).
Ángel Carlos del Pozo Muela:
Not dragging things or deleting, only select icon to go to another
view. Any advice to do it using storyboard? Thanks a lot.
me:
I think dragging buttons onto your view in a grid-like manner, and
connecting the touch events to new views, should do the trick. Even in
storyboard.
I can confirm that the old version of the Badoo app actually used three20. ;-) So I guess you're stuck with implementing that, although I wouldn't add three20 to any new project.

Change the text of UISwitch

I want to change the switch control text YES/NO in place of ON/OFF , i am not know is it possible or not. if its possible and any one know about it please help me?
Thanks
I think its not possible to change the text of switch in proper way, but every problem has minimum one solution so for your problem you have to create the custom switch control
for help download the code from
here
1 : http://www.xprogress.com/post-30-uiswitch-tutorial-example-how-to-use-the-switch-in-xcode-for-iphone-sample-included/
2 : http://www.catamount.com/blog/1063/uicustomswitch-customizing-uiswitch-color-it-change-labels/
3 : help check this also http://www.xprogress.com/post-30-uiswitch-tutorial-example-how-to-use-the-switch-in-xcode-for-iphone-sample-included/
Thanks,
Raj
There is no way to change this two values in easy way.
You can look here: http://www.catamount.com/blog/1063/uicustomswitch-customizing-uiswitch-color-it-change-labels/
but this solution make custom UISwitch which got other graphics
I currently use this open source library called RCSwitch . Much more robust than the others mentioned.

Customize ABPersonViewController

Is it possible to add custom UITableViewCell row in addition to built-in email, phone rows inside ABPersonViewController?
I would like to add buttons like add, remove, etc in that cell, which will allow user to be added/removed into/from my application.
Please let me know, Thank you.
Pretty sure you've gotten the answer to this by this point, but I was just looking into do this myself.
Basically, No.
These controllers are not designed to be customized and Apple mentions it in their documentation.
This answer might help you:
https://stackoverflow.com/a/3507849/819355
It subclasses ABPersonViewController which allows you to play a bit with the screen controls...

How to reproduce Three20 Slide Up To Refresh feature?

I would like to add this to a projet, but I don't want to add the full Three20 framework for a simple feature. How the framework does to always hide the first row, and to detect when it's sliding up ? After that, I suppose a callback url can just be called to refresh the table view.
Thanks !
Try one of the standalone implementations, like EGOTableViewPullRefresh.
Credit noted in this StackOverflow post also; which is where I first learned of it.