mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-08 14:56:12 -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>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||
<string>Saving screenshot</string>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
|
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user