rtl ios swift
func switchViewControllers(isArabic arabic : Bool){
if arabic {
UIView.appearance().semanticContentAttribute = arabic ? .forceRightToLeft : .forceLeftToRight
let appDelegate = UIApplication.shared.delegate as? AppDelegate
let homeViewController = HomeViewController()
appDelegate?.window?.rootViewController = homeViewController
}
}
Also in Swift:
- swift has Top Notch
- Swift class init
- number of characters in a string swift
- show back button in navbar swift
- fnb swift code
- swift textfield trim special characters before database
- check when webview finish loading swift
- how to dismiss keyboard swiftui
- swift get last element of array
- ui alert swift yes no
- how to set the font of text in swiftui
- custom binding swiftui
- swift assign tuple to variables
- ShareSheet: UIViewControllerRepresentable swiftui
- swift change navigation bar color
- swift sort list true before false
- go to view controller programmatically swift
- swift uiview add tap gesture
- rounded ios button
- swift animate a label ishidden
- foreach swift
- add buton border swift
- how to style textfield swiftui
- convert string to base64 swift