---
title: "italicSystemFont(ofSize:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uifont/italicsystemfont(ofsize:)"
---

# italicSystemFont(ofSize:)

Returns the font object for standard interface items in italic type in the specified size.

## Declaration

```swift
class func italicSystemFont(ofSize fontSize: CGFloat) -> UIFont
```

## Parameters

- `fontSize`: The size (in points) for the font. This value must be greater than 0.0.

## Return Value

Return Value A font object of the specified size.

## Discussion

Discussion Instead of using this method to get a font, it’s often more appropriate to use preferredFont(forTextStyle:) because that method respects the user’s selected content size category.

## See Also

### Creating System Fonts

- [systemFont(ofSize:)](uikit/uifont/systemfont(ofsize:).md)
- [systemFont(ofSize:weight:)](uikit/uifont/systemfont(ofsize:weight:).md)
- [UIFont.Weight](uikit/uifont/weight.md)
- [systemFont(ofSize:weight:width:)](uikit/uifont/systemfont(ofsize:weight:width:).md)
- [UIFont.Width](uikit/uifont/width.md)
- [boldSystemFont(ofSize:)](uikit/uifont/boldsystemfont(ofsize:).md)
- [monospacedSystemFont(ofSize:weight:)](uikit/uifont/monospacedsystemfont(ofsize:weight:).md)
- [monospacedDigitSystemFont(ofSize:weight:)](uikit/uifont/monospaceddigitsystemfont(ofsize:weight:).md)
