iOS平時筆記記錄

weixin_33860722發表於2017-05-26

1、讀取Plist檔案

        if let path = Bundle.main.path(forResource: "Info", ofType: "plist") {
            let dictRoot = NSDictionary(contentsOfFile: path)
            if let dict = dictRoot {
                print("read plist file:\(dict)")
            }
        }

2、GitHub - MxABC / LBXScan:條形碼和qr程式碼掃描器(二維碼,掃碼,掃一掃,ZXing,ZBar,iOS系統AVFoundation掃碼封裝,掃碼介面效果封裝)

相關文章