摘要: 代码如下import AVFoundationclass ViewController: UIViewController { var audioPlayer:AVAudioPlayer? override func viewDidLoad() { super.viewDi... 阅读全文
posted @ 2014-11-15 14:50 wuchunyang 阅读(404) 评论(0) 推荐(0) 编辑
摘要: button.layer.cornerRadius = 10 // 这个值根据你想要的效果可以更改button.clipsToBounds = true 阅读全文
posted @ 2014-11-15 14:48 wuchunyang 阅读(153) 评论(0) 推荐(0) 编辑
摘要: button.layer.cornerRadius = 10 // 这个值根据你想要的效果可以更改button.clipsToBounds = true效果图: 阅读全文
posted @ 2014-11-15 14:45 wuchunyang 阅读(82) 评论(0) 推荐(0) 编辑