Q:如何设置UIButton的高度和宽度?
A:可以通过设置边距实现,
self.contentEdgeInsets = EdgeInsets(top: 5, left: 8, bottom: 5, right: 8)
Swift开发点滴
Title:Swift开发点滴
Author:Lynn Cheng
Created:2016-05-20, 10:06:24
Updated:2016-05-20, 10:08:11
Full URL:http://lynncheng.github.io/2016/05/20/Swift开发点滴/
License: "CC BY-NC-SA 4.0" Keep Link & Author if Distribute.