how to make round buttons like the iOS 7 lock screen
问题 Is there a predefined widget to make have round buttons in iOS7 like with the lock screen? I've been looking around at UIButton but I couldn't find anything. So their they're not UIButtons, or I'm not seeing it, or they just don't exist and I have to make my own custom buttons. 回答1: Link the framework in build steps then Import: #import QuartzCore/QuartzCore.h Code: self.fiveButton.layer.cornerRadius = self.fiveButton.bounds.size.width/2.0; self.fiveButton.layer.borderWidth = 1.0; self