UIImage *image = ...; CALayer *layer = ...; layer.contents = (id)[image CGImage]; If you do not set the contents property directly, Core Animation goes ...
確定! 回上一頁