开发者

Render data offscreen in UIView

开发者 https://www.devze.com 2022-12-26 05:18 出处:网络
How would I go about drawing a view offscreen in or开发者_StackOverflow社区der to perform some calculation before the view\'s draw is actually done? Can this be done by drawing to a temporary layer?I

How would I go about drawing a view offscreen in or开发者_StackOverflow社区der to perform some calculation before the view's draw is actually done? Can this be done by drawing to a temporary layer?


I am not getting your exact problem... But you can use

-(void)viewWillAppear:(BOOL)animated

this method will be called every time before your view will appear on the screen... you can do the calculation and make some changes here before view appear on the screen...

0

精彩评论

暂无评论...
验证码 换一张
取 消