updateTitleVariants(_:subtitleVariants:)
Updates title and subtitle variants.
Declaration
func updateTitleVariants(_ newTitleVariants: [String], subtitleVariants newSubtitleVariants: [String])Parameters
- newTitleVariants:
An array of localized, displayable titles. The system selects the title that fits in the available display space.
- newSubtitleVariants:
An array of localized, displayable subtitles. The system selects the title that fits in the available display space.
Discussion
You can update the navigation alert with new title and subtitle variants before presenting the alert or after displaying it. Updating a dismissed alert has no effect.