# STSystemUtils **Repository Path**: hugewing/STSystemUtils ## Basic Information - **Project Name**: STSystemUtils - **Description**: iOS系统常用方法,拨打电话,发送短信,联网状态,系统版本,屏幕尺寸,是否iPhone5以上,当前应用版本号,Documents路径,屏幕截图等。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 34 - **Created**: 2015-03-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

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;