UIButton的imageView属性是readonly,是不可写的。所以要给button设置图片,必须要用他提供的方法imageForState:(图片保持原大小,会遮挡title) ...
確定! 回上一頁