ios 截屏出现白线问题

2017-06-29  本文已影响0人  FSDemo
UIGraphicsBeginImageContextWithOptions(view.bounds.size, NO, 0.0);

[view.layer renderInContext:UIGraphicsGetCurrentContext()];

只需要将 截屏的 view 宽高设置为 NSInteger
如果宽高是小数,就会出现白边问题

上一篇 下一篇

猜你喜欢

热点阅读