UIImage的size:point
CGImage的size:px
所以如果前者的size用在后者,需要乘以scale。
可以看下这个链接:
Since the retina display, suddenly this piece of drawing code seems to not work anymore. The drawn image is slightly offset than it was before and appears somewhat[......]
大家都知道,Mac上做持续集成时,是经常需要访问keychain的,而一般的命令行是不允许这么交互的,如果直接build可能会有这样的效果:
Signing Identity: "iPhone Distribution: xxxxxx (yyyyyy)"
/usr/bin/codesign --force --sign zzzzzz --preserve-metadata=identifier,entitlements --timestamp=none aaaa
aaa[......]
现在有形如如下的类json
com.apple.ApplicationGroups.iOS = {
enabled = 0;
};
com.apple.BackgroundModes = {[......]
如果你的app包含相机、相册等申请权限,那么现在提审后会说到警告邮件:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses t[......]