在我的一个方法中,我有这个代码:
-(void)myMethod {
UIBezierPath *circle = [UIBezierPath
bezierPathWithOvalInRect:CGRectMake(75, 100, 200, 200)];
}
Run Code Online (Sandbox Code Playgroud)
如何让它在视图中显示?
我试过addSubview,但它给了我一个incompatible type error因为它期待一个UIView.
我相信这一定很简单.
谢谢