iOS平时笔记记录

2017-05-26  本文已影响33人  罗小耳

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扫码封装,扫码界面效果封装)

上一篇下一篇

猜你喜欢

热点阅读