mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 15:28:21 -04:00
iOS: Again try to improve older version compatibility
This commit is contained in:
parent
67adc43433
commit
3945e4e938
@ -19,7 +19,7 @@
|
|||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<false/>
|
||||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||||
<string>Saving screenshot</string>
|
<string>Saving screenshot</string>
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
|
@ -1267,8 +1267,9 @@ void LBackend_DrawTitle(struct Context2D* ctx, const char* title) {
|
|||||||
// bitmapped fonts don't need to be freed
|
// bitmapped fonts don't need to be freed
|
||||||
return;
|
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];
|
NSString* text = [NSString stringWithCString:title encoding:NSASCIIStringEncoding];
|
||||||
|
|
||||||
NSDictionary* attrs_bg =
|
NSDictionary* attrs_bg =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user