UIView+SGFrame.h #import @interface UIView (SGFrame) @property (nonatomic, assign) CGFl...
一、使用MVC布局 1、在Info.plist中添加NSLocationWhenInUseUsageDescription和NSLocationAlwaysUsageDesc...
1、在Info.plist中添加NSLocationWhenInUseUsageDescription和NSLocationAlwaysUsageDescription設(shè)置為...
//定義一個(gè)BOOL值,將獲取的值不會空 let show:Bool = (UserDefaults.standard.object(forKey: "show") != n...
import Alamofire class LoadData: NSObject { func getRequest(urlString: String, params :...
一、下載 libqrencode SDK 1、先引入編譯需要的Framework導(dǎo)入libsqlite3.tbd 二、創(chuàng)建單列類并使用libsqlite數(shù)據(jù)庫 1、在.h中先...
一、下載 libqrencode SDK 1、先引入編譯需要的Framework導(dǎo)入libsqlite3.tbd 二、創(chuàng)建單列類并使用libsqlite數(shù)據(jù)庫 1、在.h中先...
一、在Build Phasses 中的Link Binary With Libraries 導(dǎo)入sqlite3.tab 二、使用MVC的框架 1.在model里定義一個(gè)屬性 ...
一、接入指南 先引入編譯需要的Framework: AudioToolbox.framework AVFoundation.framework SystemConfigura...
一、下載 libqrencode SDK 1.以從github上下載好ZBarSDK,導(dǎo)入項(xiàng)目,并且導(dǎo)入相關(guān)iOS.framework 如圖: 2.在ViewControll...
APPDelegate.h - (void)application:(UIApplication *)application didReceiveLocalNotificat...