When you add a swift button programmatically, you need to create an instance of UIKit.UIButton class and then set it's properties ( such as title text, ...
確定! 回上一頁