var contentImageView: UIImageView!{
didSet{
contentImageView.image!.resizableImageWithCapInsets(UIEdgeInsets(top: 5,left: 5,bottom: 5,right: 5))
}
}
I have tried this code after searching in the Internet.
But it didn't work and the result is:
Are there any better ways to implement?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…