myView = [[UIView alloc] init];
myView.layer.borderColor = [UIColor colorWithPatternImage:@"color.png"];
第二行给出了错误 Implicit conversion of OBjective-C pointer type 'UIColor' to pointer type 'CGColorRef' requires a bridged cast 。
这个错误是什么以及如何解决它。