The font weight (Style) specified in the Storyboard is not reflected (iOS8 only)

Asked 1 years ago, Updated 1 years ago, 72 views

Even if you specify UILabel or UIButton fonts on the Storyboard, only iOS8 will lose weight.It is configured correctly on iOS 9.

Font settings on the Storyboard
·Font-Custom
·Family-Hiragino Sans
·Style - Hiragino corner Gothic W6
·Size-14

If you start the application with this setting, only iOS8 will be displayed as Hiragino-angle Gothic W3 and will become smaller.
If you specify the font directly in the code, it will be reflected, but if you specify it in the code or in the storyboard, there is a serviceability problem, so I would like to complete it in the storyboard.

Environment
OS 10.11.3 (Capitan)
Xcode 7.2.1

Does anyone know how to deal with it?

ios ios8 storyboard

2022-09-30 21:13

1 Answers

http://qiita.com/manji602/items/346226435594d36c2e9b

This article may be helpful, but the rule of thumb is that if you specify Hiragino Sans on the Xcode7 (iOS9 or higher) Storyboard, iOS8 will experience poor performance and poor drawing.

Therefore, I think it would be good to use code as a solution, but since you don't want to do so from a serviceability point of view, why don't you adopt SystemFont Bold?SystemFont is a flat-headed square.In this case, both iOS 8 and 9 should be able to specify Bold without performance degradation.


2022-09-30 21:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.