+(NSString*)sha_amount:(NSString*)amount{ NSScanner *scan = [NSScanner scannerWithStr...
+(NSString*)sha_amount:(NSString*)amount{ NSScanner *scan = [NSScanner scannerWithStr...
下载云闪付SDK 设置URL Schemes info.plist添加白名单 代码示例 NSString *tn = @"后台返回的prepayId"; UIViewCont...
打开24小时制或更新银联SDK到最新版
iOS15以后手机设置12小时制传入后台时间会显示上午下午 需添加以下代码 formatter.locale = [[NSLocale alloc] initWithLoca...
终端输入 defaults write com.apple.finder AppleShowAllFiles -bool true 显示隐藏文件 defaults wri...
+ (NSString*)sha_amount:(NSString *)amount{ NSScanner *scan = [NSScanner scannerWithS...
+ (NSString*)sha256HashFor:(NSString*)input{ constchar *str = [input UTF8String]; u...
UIAlertController *alvc = [UIAlertController alertControllerWithTitle:@"title" message:...
UIBezierPath *maskOnePath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, SC...
UIViewController *rootVC = self.presentingViewController; while (rootVC.presentingViewC...
if([self.tableViewrespondsToSelector:@selector(setSeparatorInset:)]) { [self.ta...
关闭系统设置更新 打开终端输入 defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 回车 ...
创建类方法继承自NSObject .h 文件 + (NSString*)GetDialNumber:(NSString*)phoneNumber; .m 文件 + (NSSt...
继承于NSObject的类执行跳转到登录页面时无法触发控制器跳转 UIViewController *RootViewController = [UIApplication ...
-(UIViewController*) currentViewController; -(UIViewController*) findBestViewController...
#import <CoreTelephony/CTCellularData.h> - (void)cellularData{ // 应用启动后,检测应用中是否有联网权限 ...
#pragma mark - 地图上显示多边形 - (MKPolygon*)showPolygonInMap:(CLLocationCoordinate2D*)coordin...
#import "sys/utsname.h" + (NSString*)getDeviceName { struct utsname systemInfo; una...
Cocoapods 集成pod 'Bugly' 导入头文件 #import 添加协议BuglyDelegate - (void)configureBugly { Bugly...
#define MERCATOR_RADIUS85445659.44705395 - (int)getZoomLevel:(MKMapView*)_mapView { r...