摘要: iOS传值方式总结 前向后传值。 1.属性传值,传值第一步就得确定传的属性类型,然后就定义什么样的属性 2.属性传值,就是上一个界面到下一个界面的选中方法里面将要传的值传到 下一个界面 例子: MainViewController与SecondViewContrller两个视图控制器,点击MainV 阅读全文
posted @ 2016-04-25 15:14 残影舞 阅读(475) 评论(0) 推荐(0)
摘要: 设置concentSize的时候不能为零,原因未知,但是能解决问题!!!!!! 阅读全文
posted @ 2016-01-06 16:57 残影舞 阅读(197) 评论(0) 推荐(0)
摘要: 首先要添加库CoreLocation.framework然后需要在info.plist里添加两项NSLocationWhenInUseUsageDescription和NSLocationAlwaysUseUsageDescription后边的value随便写点就行这是询问当前设备是否可以访问位置权... 阅读全文
posted @ 2015-12-29 13:45 残影舞 阅读(346) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad { UIView *view = [[UIViewalloc] initWithFrame:CGRectMake(0, 0, [UIScreenmainScreen].bounds.size.width,240)]; [self.viewaddSubvie... 阅读全文
posted @ 2015-12-21 09:21 残影舞 阅读(558) 评论(0) 推荐(0)
摘要: 在AppDelegate里边实现//各个标签栏ViewController的实例化 titile为标签栏标题MainViewController *mainController = [[MainViewControlleralloc] init]; mainController.title = ... 阅读全文
posted @ 2015-12-21 09:11 残影舞 阅读(229) 评论(0) 推荐(0)
摘要: NSString *account = @"UserName"; NSString * pswd = @"Pwd"; NSString * mobile = @"12345678901"; // 发送请求 NSString*urlstr = [NSStringstringWithFormat:@... 阅读全文
posted @ 2015-11-27 16:09 残影舞 阅读(802) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad{ UIActionSheet *sheet; //判断是否支持相机 if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) ... 阅读全文
posted @ 2015-11-24 16:26 残影舞 阅读(310) 评论(0) 推荐(0)
摘要: 1.在官网上下载一个调试工程,在工程中进行代码的编写,调试2.首先创建一个以EUExBase为基类的类,(注:这个基类是需要修改的,刚开始创建的是NSObject为基类的类,修改基类即可)。3.在文件夹下找到index.html文档,这是网页的代码,需要修改添加点东西,方便自己调用,仿照上边代码即可... 阅读全文
posted @ 2015-11-19 12:02 残影舞 阅读(229) 评论(0) 推荐(0)
摘要: 1.登陆苹果官方https://developer.apple.com/membercenter/index.action#adpDev2.选择Member Center ,选择证书管理(certificates)。3.选择左边第一个(certificates)4.证书管理(certificates... 阅读全文
posted @ 2015-11-17 15:05 残影舞 阅读(163) 评论(0) 推荐(0)