ios中UIImageView如何宽度自适应

即宽度不够时候,拉升到屏幕宽度,然后保持宽高比不变:

 

Leave a Reply

Your email address will not be published.