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.
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.
Are there similar PNG files for yellow, green, etc?
ReplyDeleteThank you so much, this was exactly what I was looking for.
ReplyDeleteThanks! Perfect!
ReplyDeleteThis is awesome. Thanks!
ReplyDeleteI made a high res version: http://i.imgur.com/rjdoW.png
ReplyDeleteThank you!
ReplyDeleteawesome! that was helpful!
ReplyDeleteThank you for this. Nicely done and very helpful.
ReplyDeleteThanks!
ReplyDeleteExcellent -- 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.
ReplyDeleteThank 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
ReplyDeleteI 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
ReplyDeleteDOWNLOAD PAID APPS FOR FREE WITH TUTUAPP FROM PLAYSTORE DOWNLOAD TUTUAPP FOR MORE INFO
ReplyDeleteTutuapp
Tutuapp Android
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
ReplyDeleteDownload Latest Movies With
ReplyDeleteNewest Movies HD
Newest Movie HD
Newest Movies HD for PC
Tutuapp
ReplyDeleteTutuapp Download
Tutuapp
Tutuapp apk
Appvn Apk
ReplyDeleteAppvn ios
Blackmart Apk
iTube Apk
Snaptube iOS
Snaptube Apk
TutuApp APK iOS Free Download Latest Version 2019 Best Version Free! here And Also more...
ReplyDeleteTutuApp
Download TutuApp
Snaptube PC
Tubemate APK
fashion for women
ReplyDeletefashion
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
ReplyDeleteAppValley is a free app store to download millions of Android, iOS apps along with Tweaked Apps without Jailbreaking iPhone/iPad.
ReplyDeletehttps://appvalley.co.in/
appvalley download
appvalley ios
appvalley apps
appvalley apk
appvalley download ios
Thanks for your valuable information and insights.
ReplyDelete192.168.l.l
192.168 l 254
192.168.0.1
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
ReplyDeleteHello there! This post could not be written any better!
ReplyDeleteLooking 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
Howdy! This post couldn’t be written any better!
ReplyDeleteReading 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