Swift 4中的iOS UIKit:从UIView获取UIImage(屏幕截图)

预习

资源

项目

https://github.com/calmone/iOS-UIKit-component

参考

  • CGContextRef
    https://developer.apple.com/reference/coregraphics/cgcontextref
  • CGContext
    https://developer.apple.com/reference/coregraphics/cgcontext

快乐编码😄