CGPath を UIImage に変換する方法はありますか?
ありがとう
UIGraphicsBeginImageContext(size);
// draw your path here
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
あなたが求めているのは、コンテキストでパスを描画し、それを画像に変換したいということを意味する場合、UIGraphicsGetImageFromCurrentImageContext
必要なものかもしれません.