how to customize the "Delete" button on swipe - iphone

How can I customize the "Delete" Button on swipe. I want to use the small button instead of using this Red Delete Button. I know how to change the title but I want to change the size and image of button.Is it possible?
As I am new, I am not allowed to upload images.
Please help!

This is probably not recommended. Apple likes consistency between all of its apps, so you should consider keeping it that way.

Related

How to show number small custom icon like mail, iphone

I have a social networking app. I have a button and based on the click on the button I need to show a small icon on the top right corner of the button. it is a custom color and text.
I know to show the default system number icon for like the one for unread mail you can get it from the shared application badge count. But I am trying to do something custom here.
I am thinking of building my own imageview (its background will be a custom png) and then within it a small text to show the number.
Anyone has experience with this and can recommend a better way?
You can add a imageView with badge image as the subvie of that button.
There is a lot of custom badge controls available.
Please check the following links.
jobadgeview
CustomBadge
Badge
You cannot change anything on the home screen besides for the app icon, name, and badge value. Do you mean on the home screen or on a tab bar?
UPDATE
If you mean a badge in the app, not on the homescreen, checkout #MidhunMP's answer to find links on how to do this. I have used http://www.spaulus.com/2011/04/custombadge-2-0-retina-ready-scalable-light-reflex/?lang=en before successfully.

iTunes U style download/progress/stop/play button

iTunes U for the iPhone has these wonderful buttons that show
the download progress
the stop button and the
play button (well, the "i" button)
in one place - see attached screenshot. Is this a system icon which can be called by code, or is it something thats not available for developers?
Anyhow: if someone has a source, that describes how to get such kind of buttons, I'd be very happy. It's clear to me, that the icons are controlled by a state-pattern in view-controller.
Thanks in advance.
There is DACircularProgress on github, it looks just like the circular progress bar on the Facebook app, I think you can take that, modify it to put the stop button on top and change the color and use it. check it out:
DACircularProgress

Using radio buttons in iPhone app

How do I a use radio button in an iPhone app? Should I load any image instead of button image?
A fairly standard replacement for radio buttons on iOS is a "picker". An alternative, if you have a large number of potential choices, is to use a static list under a button, and allow only one of the items to be selected and checkmarked.
You can use a custom button & change its image on button click
Take a look at the UISegmentedControl. It functions basically as a radio button for up to ~4 options. There's no maximum limit AFAIK, but any more than 4 is somewhat difficult visually.
Try DLRadioButton, the best Radio Button control for iOS. It is highly customizable, you can also use you own image as selection indicator. It is available through Cocoapods pod 'DLRadioButton', '~> 1.4' and at GitHub.
Screenshot for your reference.

how to make radio button and checkbox button in iphone?

Can anybody tell me the code to make radio button and checkbox button in iphone.
Thanks in advance.
Unless you really want to provide the users with a non-standard experience and invent your own controls (which are likely to not be so fine-tuned as those provided out-of-the-box), i would go with UISwitch instead of checkbox and UIPickerView instead of a radiobutton(s)
You have to do it manually by using UIButtons:
Checkbox: create two images, assign one via setImage:forState: with state UIControlStateNormal, the other with state UIControlStateSelected. Then you can toggle the images simply by setting the button's selected property to NO or YES.
Radiobox: same as with checkbox, but you have to keep track of the other radioboxes (e.g. via an array) and set foo.selected = NO for all the not-selected checkboxes.
#Nitin in these cases you have to use the images in UIImageView for checked or unchecked....basically they are images or one more procedure is to use the custom UIButton and give them images accordingly to situation

how to do tooltip on button in iphone?

I am having download icon on my page i want that when the user takes his finger over the button a tooltip should show as showing download in text.
is there any option in iphone to show a tooltip???
Dan is absolutely right on how to do it but I'd answer you should rethink your design to not need the tooltip at all.
There's a reason that there isn't one by default - what if the user presses down on the button to see what it does, reads the tooltip and realises that's not what they want. They then have to be very careful not to let go while still over the button or it will press and do the wrong thing. (And most users don't know that they can press down over a button, move their finger off it and release it to cancel the press.)
You should rethink your design to make it obvious what the buttons do without the user having to interact with them first.
However, if you definitely still want a tooltip, Dan's method is fine.
Nothing built-in, no. If you think about it, generally a tooltip appears when you mouse over the target item. There's no "mousing over" with a touch interface.
You can definitely roll your own, though. Start by placing a view containing your tooltip contents exactly where you want it with an alpha of 0%. Make a custom button with no content that outlines your download icon, and hook its "touch down inside" action to a method that animates the tooltip view to an alpha of 100%. Hook your button's "touch up inside" , "touch down outside" and "touch up outside" actions (and maybe some others--you might want to experiment with that) to a method that animates the tooltip view back to an alpha of 0%.
There isn't native support for this in iOS. But you can create your own.
I ended up creating my custom tooltip/popover class.
Can be initalised with any content view and dynamically adjusts it's frame.
Hope it helps.
https://github.com/akeara/AKETooltip