让 UIView 显示一个图片

来源:互联网 发布:老人坐便椅子淘宝网 编辑:程序博客网 时间:2024/05/17 00:15
view.layer.contents = (__bridge id)(image.CGImage)