We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你寄宿图那章说调用-drawRect:和- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx;都会创建寄宿图。我测试了一下在UIView(frame特别大)的时候重写-drawRect:内存急剧飙升确实应该产生了寄宿图。但是在测试layer的时候调用了- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx;内存并没有上升很多啊,感觉好像没有创建寄宿图的样子。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你寄宿图那章说调用-drawRect:和- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx;都会创建寄宿图。我测试了一下在UIView(frame特别大)的时候重写-drawRect:内存急剧飙升确实应该产生了寄宿图。但是在测试layer的时候调用了- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx;内存并没有上升很多啊,感觉好像没有创建寄宿图的样子。
The text was updated successfully, but these errors were encountered: