1 Star 0 Fork 34

力爱迪科技 / STSystemUtils

forked from stlwtr / STSystemUtils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 892 Bytes
一键复制 编辑 原始数据 按行查看 历史
stlwtr 提交于 2014-07-29 20:56 . Update README.md

STSystemUtils


// 拨打电话
+ (void)call:(NSString *)phoneNo;

// 发送短信
+ (MFMessageComposeViewController *)sendSMS:(NSString *)bodyOfMessage
recipientList:(NSArray *)recipients
delegate:(UIViewController *)delegate;

// 是否联网
+ (BOOL)isNetConnect;

// 是否通过WiFi联网
+ (BOOL)isNetViaWiFi;

// 是否通过3G联网
+ (BOOL)isNetViaWWAN;

// 获取设备唯一码
+ (NSString *)guid;

// 系统版本
+ (NSString *)systemVersion;

// 屏幕尺寸
+ (CGSize)screenSize;

// 是否iPhone5
+ (BOOL)isIPhone5;

// 当前应用版本号
+ (NSString *)applicationVersion;

// Documents路径
+ (NSString *)documentsPath;

// 根据rgb生成颜色
+ (UIColor *)colorFromRGB:(NSInteger)rgbValue;

// 屏幕截图
+ (UIImage *)screenShotWithView:(UIView *)v; 
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Objective-C
1
https://gitee.com/liaidi/STSystemUtils.git
git@gitee.com:liaidi/STSystemUtils.git
liaidi
STSystemUtils
STSystemUtils
master

搜索帮助