In swiftUI we can achieve solution easily using AccessibilityHeadingLevel.h1, it would be helpful if some helps here to achieve the same using swift.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: