1. 程式人生 > >圖片拉伸

圖片拉伸

圖片 ger space convert -s con str view 圖片拉伸

self.bgView.image = UIImage.init(named: model["bgView"] ?? "")?.resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 10, bottom: 0, right: 40), resizingMode: UIImageResizingMode.stretch)





轉自:https://blog.csdn.net/wc455287693/article/details/47294547

圖片拉伸