有効にしてARC
、やろうとしています:
CGColorRef outerColor = (id)[UIColor colorWithWhite:1.0 alpha:1.0].CGColor;
キャストを試みた結果、次のエラーが発生しました。
Implicit conversion of an Objective-C pointer to 'CGColorRef' (aka 'struct CGColor *') is disallowed with ARC
いろいろ試しましたが、このキャストを完成させる方法がわかりません。