Skip to content
New issue

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

iOS 优化界面流畅性的那些事儿 · ifelseboyxx's Blog #3

Open
ifelseboyxx opened this issue Jul 5, 2017 · 2 comments
Open

Comments

@ifelseboyxx
Copy link
Owner

http://blog.ifelseboyxx.com/2017/03/19/AsynDrawText/

@ifelseboyxx
Copy link
Owner Author

测试评论~

@ifelseboyxx
Copy link
Owner Author

测试 Markdown

UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, self.contentsScale);
CGContextRef context = UIGraphicsGetCurrentContext();
	
					/** display */
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
self.contents = (__bridge id)(image.CGImage);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant