Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
CGContextRef を使用してサブビューに線と点を描画してから、再描画したいと考えています。サブビューで画面をクリアするには? ありがとう。
これを試してください:
CGContextClearRect(UIGraphicsGetCurrentContext(), rect);