Created
November 25, 2021 18:42
-
-
Save sheerazam/25fc8ff72aa91d261619bc26f557c6f9 to your computer and use it in GitHub Desktop.
Implementing Force Update Feature using Firebase Remote Config in iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIViewController+UrlOpener.swift | |
// OutApp | |
// | |
// Created by Sheeraz Ahmed Memon on 23/06/2018. | |
// Copyright © 2018 SamSoft. All rights reserved. | |
// | |
import UIKit | |
extension UIViewController { | |
func openURL(withURL url : URL ){ | |
if UIApplication.shared.canOpenURL(url) { | |
if #available(iOS 10.0, *) { | |
UIApplication.shared.open(url, options: [:], completionHandler: nil) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment