Font Weights

The following constants represent font weights that can be used as values for UIFontWeightTrait.

Overview

You can also use these constants to specify the weight parameter in systemFontOfSize:weight. Note that most fonts do not include variants in all these font weights.

Topics

Constants

UIFontWeightUltraLight

The ultra light font weight.

UIFontWeightThin

The thin font weight.

UIFontWeightLight

The light font weight.

UIFontWeightRegular

The regular font weight.

UIFontWeightMedium

The medium font weight.

UIFontWeightSemibold

The semibold font weight.

UIFontWeightBold

The bold font weight

UIFontWeightHeavy

The heavy font weight.

UIFontWeightBlack

The black font weight.