- - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //定义UIScrollV... - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //定义UIScrollV...
- iOS开发中会经常用到文件上传下载的功能,这篇文件将介绍一下如何结合asp.net webservice实现文件上传下载。 首先,让我们看下文件下载。 这里我们下载cnblogs上的一个zip文件。使用NSURLRequest+NSURLConnection可以很方便的实现这个功能。在asp.net webserv... iOS开发中会经常用到文件上传下载的功能,这篇文件将介绍一下如何结合asp.net webservice实现文件上传下载。 首先,让我们看下文件下载。 这里我们下载cnblogs上的一个zip文件。使用NSURLRequest+NSURLConnection可以很方便的实现这个功能。在asp.net webserv...
- init-初始化程序 viewDidLoad-加载视图 viewWillAppear-UIViewController对象的视图即将加入窗口时调用; viewDidApper-UIViewController对象的视图已经加入到窗口时调用; viewWillDisappear-UIViewController对象的视图... init-初始化程序 viewDidLoad-加载视图 viewWillAppear-UIViewController对象的视图即将加入窗口时调用; viewDidApper-UIViewController对象的视图已经加入到窗口时调用; viewWillDisappear-UIViewController对象的视图...
- 上一章已经提到了通过越狱开发可以获取Root权限制作系统级应用程序,当然也可以设置开机启动项,如果想更高级点还可以app自动启动后,在桌面隐藏APP图标,让用户无法关闭app(非常强盗啊!) 第一步:实现APP自动启动。 参看帖子:http://blog.csdn.net/lynjay/article/details/7936488... 上一章已经提到了通过越狱开发可以获取Root权限制作系统级应用程序,当然也可以设置开机启动项,如果想更高级点还可以app自动启动后,在桌面隐藏APP图标,让用户无法关闭app(非常强盗啊!) 第一步:实现APP自动启动。 参看帖子:http://blog.csdn.net/lynjay/article/details/7936488...
- self.locationManager = [[CLLocationManager alloc] init]; self.locationManager.delegate = self; self.locationManager.distanceFilter=0.5; self.loc... self.locationManager = [[CLLocationManager alloc] init]; self.locationManager.delegate = self; self.locationManager.distanceFilter=0.5; self.loc...
- plist配置 <key>CFBundleURLTypes</key><array><dict><key>CFBundleURLName</key><string></string><key>CFBundleURLScheme... plist配置 <key>CFBundleURLTypes</key><array><dict><key>CFBundleURLName</key><string></string><key>CFBundleURLScheme...
- - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //定义UIScrollView //self.scrollView = [[UI... - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //定义UIScrollView //self.scrollView = [[UI...
- -(void)CWriteFile:(NSString*)logStr isLogTime:(BOOL)_isLogTime{ /获取路径 NSString *sandboxPath = NSHomeDirectory(); NSString *documentPath = [sandboxPath str... -(void)CWriteFile:(NSString*)logStr isLogTime:(BOOL)_isLogTime{ /获取路径 NSString *sandboxPath = NSHomeDirectory(); NSString *documentPath = [sandboxPath str...
- 1、打开摄像头- (IBAction)Open:(id)sender { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; if([UIImagePickerController isSourceTypeAvailable:... 1、打开摄像头- (IBAction)Open:(id)sender { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; if([UIImagePickerController isSourceTypeAvailable:...
- //获取家目录路径的函数: NSString *homeDir = NSHomeDirectory(); ///document NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentationDirectory, NSUserDomain... //获取家目录路径的函数: NSString *homeDir = NSHomeDirectory(); ///document NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentationDirectory, NSUserDomain...
- WXPay+MD5.h //// NSObject+MD5.h// NEWDLD//// Created by zz on 16/7/28.// Copyright © 2016年 dld. All rights reserved.// #import <Foundation/Foundation.h>#impo... WXPay+MD5.h //// NSObject+MD5.h// NEWDLD//// Created by zz on 16/7/28.// Copyright © 2016年 dld. All rights reserved.// #import <Foundation/Foundation.h>#impo...
- //身份证号 + (BOOL)CheckIsIdentityCard: (NSString *)identityCard { //判断是否为空 if (identityCard==nil||identityCard.length <= 0) { return NO; ... //身份证号 + (BOOL)CheckIsIdentityCard: (NSString *)identityCard { //判断是否为空 if (identityCard==nil||identityCard.length <= 0) { return NO; ...
- 文章目录 引言 I 日历的使用 1.1 两个时间的比较(NSDateComponents) 1.2 时间获取 II 案例 ... 文章目录 引言 I 日历的使用 1.1 两个时间的比较(NSDateComponents) 1.2 时间获取 II 案例 ...
- //// MoveScaleImageController.h// MoveScaleImage//// Created by on 12-4-24.// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.// #import <UIKit/UIKit.... //// MoveScaleImageController.h// MoveScaleImage//// Created by on 12-4-24.// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.// #import <UIKit/UIKit....
- //调用 UIImage *qrcode = [self createNonInterpolatedUIImageFormCIImage:[self createQRForString:@"http://www.baidu.com"] withSize:190.0f]; UIImage *customQrcode = [... //调用 UIImage *qrcode = [self createNonInterpolatedUIImageFormCIImage:[self createQRForString:@"http://www.baidu.com"] withSize:190.0f]; UIImage *customQrcode = [...
上滑加载中
推荐直播
-
HDC深度解读系列 - Serverless与MCP融合创新,构建AI应用全新智能中枢2025/08/20 周三 16:30-18:00
张昆鹏 HCDG北京核心组代表
HDC2025期间,华为云展示了Serverless与MCP融合创新的解决方案,本期访谈直播,由华为云开发者专家(HCDE)兼华为云开发者社区组织HCDG北京核心组代表张鹏先生主持,华为云PaaS服务产品部 Serverless总监Ewen为大家深度解读华为云Serverless与MCP如何融合构建AI应用全新智能中枢
回顾中 -
关于RISC-V生态发展的思考2025/09/02 周二 17:00-18:00
中国科学院计算技术研究所副所长包云岗教授
中科院包云岗老师将在本次直播中,探讨处理器生态的关键要素及其联系,分享过去几年推动RISC-V生态建设实践过程中的经验与教训。
回顾中 -
一键搞定华为云万级资源,3步轻松管理企业成本2025/09/09 周二 15:00-16:00
阿言 华为云交易产品经理
本直播重点介绍如何一键续费万级资源,3步轻松管理成本,帮助提升日常管理效率!
回顾中
热门标签