17 #import <UIKit/UIKit.h> 23 CGRect screenBounds = [[UIScreen mainScreen] bounds];
24 CGFloat screenScale = [[UIScreen mainScreen] scale];
25 return {
static_cast<uint32_t
>(screenBounds.size.width * screenScale),
26 static_cast<uint32_t>(screenBounds.size.height * screenScale)};