diff --git a/ios/Info.plist b/ios/Info.plist index 5d38abd0e..a4b063668 100644 --- a/ios/Info.plist +++ b/ios/Info.plist @@ -19,7 +19,7 @@ CFBundleVersion 1 LSRequiresIPhoneOS - + NSPhotoLibraryAddUsageDescription Saving screenshot UILaunchStoryboardName diff --git a/src/interop_ios.m b/src/interop_ios.m index f85a120ef..c2de2bf0e 100644 --- a/src/interop_ios.m +++ b/src/interop_ios.m @@ -1267,8 +1267,9 @@ void LBackend_DrawTitle(struct Context2D* ctx, const char* title) { // bitmapped fonts don't need to be freed return; } - // systemFontOfSize:weight: - iOS 8.2 - UIFont* font = [UIFont systemFontOfSize:42 weight:0.2f]; //UIFontWeightSemibold + + // systemFontOfSize: - iOS 2.0 + UIFont* font = [UIFont systemFontOfSize:42]; NSString* text = [NSString stringWithCString:title encoding:NSASCIIStringEncoding]; NSDictionary* attrs_bg =