WWAppInstallSource

main

Widget to detect where an app was installed from.
William-Weng/WWAppInstallSource

WWAppInstallSource

Swift-5.6 iOS-14.0 Swift Package Manager-SUCCESS LICENSE

  • Widget to detect where an app was installed from.
  • 檢測APP從哪裡安裝的小工具。

WWAppInstallSource

dependencies: [
    .package(url: "https://github.com/William-Weng/WWAppInstallSource.git", .upToNextMajor(from: "1.0.4"))
]

Function - 可用函式

函式 功能
detect(bundle:) 檢測App是從哪裡安裝的

Example

import UIKit
import WWPrint
import WWAppInstallSource

final class ViewController: UIViewController {

    @IBOutlet weak var myLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        myLabel.text = WWAppInstallSource.shared.detect()?.rawValue
    }
}

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 16:36:40 GMT-0900 (Hawaii-Aleutian Daylight Time)