-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Description
Previous ID | SR-16033 |
Radar | None |
Original Reporter | huajason (JIRA User) |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: f27c6b18538343c1162de83b6bf41058
Issue Description:
According to the documentation, the UIView property maximumContentSizeCategory is only available for iOS 15+, but the property is not marked with @available for iOS 15 or above.
1. Create an iOS project with the target iOS set to iOS 14.
2. Create a view and set the max contentSizeCategory
let view = UIView()
view.maximumContentSizeCategory = .extraLarge
This does not produce an availability warning and crashes when running on iOS 14.
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.