☆ 如何設定UIView的背景圖
因為Storyboard中 UIView並沒有設定背景圖的屬性,只有設定背景顏色,所以必須寫程式碼設定。self.view.backgroundColor = UIColor(patternImage: UIImage(named:"background_image.png")!)
self.view.backgroundColor = UIColor(patternImage: UIImage(named:"background_image.png")!)
Months had too ham cousin remove far spirit. She procuring the why performed continual improving.
Read More
0 意見