Friday 2 April 2010

iPhone Delete Button Image

I've just reproduced the red delete button that is used in the Contacts app and other places on the iPhone. I thought I would share it with the world.

This isn't the super-glossy button used in action sheets, but one that can appear in the bottom of a view when editing an item or looking at its details. The Contacts app and the mail account settings screen are examples of this.

click here to download the image

Use the following code to set up your button:

    [self.deleteButton setBackgroundImage:[[UIImage imageNamed:@"delete_button.png"]
                                           stretchableImageWithLeftCapWidth:8.0f
                                           topCapHeight:0.0f]
                                 forState:UIControlStateNormal];

    [self.deleteButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    self.deleteButton.titleLabel.font = [UIFont boldSystemFontOfSize:20];
    self.deleteButton.titleLabel.shadowColor = [UIColor lightGrayColor];
    self.deleteButton.titleLabel.shadowOffset = CGSizeMake(0, -1);

This will give you something like this:

This button should probably pop up an action sheet to confirm the action.

57 comments:

  1. Are there similar PNG files for yellow, green, etc?

    ReplyDelete
  2. Thank you so much, this was exactly what I was looking for.

    ReplyDelete
  3. This is awesome. Thanks!

    ReplyDelete
  4. I made a high res version: http://i.imgur.com/rjdoW.png

    ReplyDelete
  5. awesome! that was helpful!

    ReplyDelete
  6. Thank you for this. Nicely done and very helpful.

    ReplyDelete
  7. Excellent -- Thank you! BTW: to answer the question about similar files of different colors: Any competent graphics program (Photoshop, GIMP, Pixelmator, etc.) should allow you to adjust the Hue of the original to any color you want. The Save As (or Duplicate in Lion, etc.) and name it to suit. Even the Mac's built-in Preview app allows you to do this with Tools/Adjust Color.

    ReplyDelete
  8. Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info. Tutu VIP

    ReplyDelete
  9. I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. App Valley

    ReplyDelete
  10. DOWNLOAD PAID APPS FOR FREE WITH TUTUAPP FROM PLAYSTORE DOWNLOAD TUTUAPP FOR MORE INFO

    Tutuapp

    Tutuapp Android

    ReplyDelete
  11. Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. ios screen recorder

    ReplyDelete
  12. this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article know more

    ReplyDelete
  13. AppValley is a free app store to download millions of Android, iOS apps along with Tweaked Apps without Jailbreaking iPhone/iPad.
    https://appvalley.co.in/
    appvalley download
    appvalley ios
    appvalley apps
    appvalley apk
    appvalley download ios

    ReplyDelete
  14. Thanks for your valuable information and insights.
    192.168.l.l
    192.168 l 254
    192.168.0.1

    ReplyDelete
  15. Wonderful article, thanks for putting this together! This is obviously one great post. Thanks for the valuable information and insights you have so provided here. Let create for yourself a strong, beautiful sims on game sims 4 cheats

    ReplyDelete
  16. Hello there! This post could not be written any better!
    Looking at this article reminds me of my previous roommate!
    He constantly kept talking about this. I will forward this post to him.
    Pretty sure he will have a good read. Thank you for sharing!
    iobit unlocker crack
    driver talent pro crack
    4k video downloader crack
    itools crack full activation key lifetime

    ReplyDelete
  17. Howdy! This post couldn’t be written any better!
    Reading through this post reminds me of my good old roommate!
    He always kept talking about this. I will forward this page to him.
    Fairly certain he will have a good read. Thank you for sharing!

    conceiva mezzmo pro crack

    ReplyDelete
  18. I have to say I'm impressed. I rarely find myself on the blog
    it is just as informative and interesting and no doubt you are
    whose head. The problem is that too few people talk smart about it.
    I'm very happy to have found this in search of something about it.

    razer surround pro crack

    ReplyDelete
  19. Excellent blog! Do you have any advice for aspiring writers?
    I hope to start with the website soon. You advise from
    Is it a free platform like WordPress or a paid option? There are so many options, I am completely confused about...
    Any suggestions? Thank you!
    file viewer plus crack
    antares autotune pro crack
    bs player pro crack
    little snitch crack
    iobit malware fighter crack
    flvto youtube downloader crack
    corel draw x8 free download full version with crack

    ReplyDelete
  20. Very interesting, you are a very professional blogger.
    I joined your RSS feed and am still looking for more interesting articles. I also share your website on my social networks.
    teorex inpaint crack
    cleanmymac x crack
    iobit uninstaller pro crack
    progdvb crack
    kaspersky internet security crack
    data recovery pro crack

    ReplyDelete
  21. https://iqbalpc.com/avg-antivirus-free-crack/
    https://iqbalpc.com/
    Thank you for sharing such a nice post. Keep it up!

    ReplyDelete

  22. I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me
    Antares Auto Tune Pro Crack

    ReplyDelete
  23. hello!
    I really adore your writing!
    I love your writing! Share we convey your post on AOL in addition?
    I need a home specialist to handle my situation.
    Perhaps that's you! I'm looking forward to seeing you.
    drum extract vst crack
    jetbrains phpstorm crack

    ReplyDelete
  24. Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
    Teorex Inpaint 9.1 Crack
    ESET Internet Security Crack
    Avast Cleanup crack

    ReplyDelete
  25. Is this a paid topic or do you change it yourself?
    However, stopping by with great quality writing, it's hard to see any good blog today.

    ProgDVB Pro Crack
    Adobe PageMaker Crack

    ReplyDelete

  26. I like your all post. You have done really good work. Thank you for the information you provide.
    Geycrack.co
    Cockos REAPER Crack
    Teorex Inpaint Crack
    Sandboxie Crack
    All In One Toolbox Pro Crack

    ReplyDelete

  27. Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
    Teorex Inpaint 9.1 Crack
    Enscape3D Sketchup Crack

    ReplyDelete
  28. Is this a paid topic or do you change it yourself?
    However, stopping by with great quality writing, it's hard to see any good blog today.
    Very good article! We will be linking to this particularly great post on our website. Keep up the good writing.
    However, stopping by with great quality writing, it's hard to see any good blog today.
    really a nice post!

    Woll2Woll FirePower Crackk
    IObit Software Updater Crack
    JetBrains PhpStorm Crack

    ReplyDelete
  29. Thank you for some other informative site.
    where else may just I am getting that kind of information written in such a perfect way?
    I have a challenge that I am just now operating on, and I have been on the glance out for such info.

    facebook hacker pro crack
    nero backitup crack
    ronyasoft cd dvd label maker crack
    pcmover professional crack

    ReplyDelete
  30. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    vstkey.com
    Maxon CINEMA 4D Studio Crack
    Overloud TH-U Full Crack
    Mirillis Action Crack
    plugin alliance all bundle Crack

    ReplyDelete
  31. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 6 years, but I had no idea of solving some basic issues. I do not know how to Download Cracked Pro Softwares But thankfully, I recently visited a website named PCexe.org
    All Pro Cracked Softwares Download
    DisplayFusion Crack
    PUBG PC Crack
    Speedify Crack
    Windows 12 Pro Crack
    Microsoft ISO Downloader Crack

    ReplyDelete
  32. this is a very importent posts thanks for help
    seriallink.org
    NordVPN Crack

    ReplyDelete
  33. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download But thankfully, I recently visited a website named ProCrackHere
    iObit Software Updater Crack

    ReplyDelete
  34. I want you to thank for your time of this wonderful read!!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog고양출장샵
    과천출장샵
    구리출장샵
    오산출장샵
    시흥출장샵
    군포출장샵
    의왕출장샵

    ReplyDelete
  35. Congratulations on your article, it was very helpful and successful. a1c2793079f37896bedf19a547afc399
    sms onay
    website kurma
    website kurma

    ReplyDelete
  36. Thank you for your explanation, very good content. f284b1d750dc7baf0df357f95f341102
    altın dedektörü

    ReplyDelete
  37. It’s also nice that I might orgasm without watching porn, as this makes the Rose usable in a broader range of settings the place watching porn wouldn’t be applicable or doable. It’s incredible for solo play, and if you’re looking for a travel associate, you’re in luck. It’s also good for any vagina owner but to enterprise into the world of female intercourse toys – as it’s not sex toy store intimidating and easy to make use of. Lovehoney Rose Vibe is great these who|for many who|for individuals who} want to attempt a clit sucking rose toy at an reasonably priced worth. Lovehoney has taken benefit of the recognition to create quality toys without charging prospects an arm and a leg.

    ReplyDelete