another.im-ios/ConversationsClassic/Helpers/UIApplication+Extensions.swift
2024-07-04 13:54:09 +02:00

11 lines
269 B
Swift

import UIKit
func openAppSettings() {
if
let appSettingsUrl = URL(string: UIApplication.openSettingsURLString),
UIApplication.shared.canOpenURL(appSettingsUrl)
{
UIApplication.shared.open(appSettingsUrl, completionHandler: nil)
}
}