- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 等待网络返回数据再执行 以后的语句
while (!_dataArray) { [NSTimer scheduledTimerWithTimeInterval:1 target:nil selector:nil userInfo:nil repeats:NO]; [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode b
2012-12-03 13:38:48
617
原创 多个uiwindow 的可见性
一个程序默认只有一个uiwindow但可以手动添加多个多个window的互相重叠window的可见性有问题应重新设置[_window makeKeyAndVisible];
2012-12-03 10:27:27
819
原创 如何从json中拿到数据后判断该数据的类型
id tmp = [cellDict objectForKey:@"userhead"]; if ([tmp isKindOfClass:[NSDictionary class]] == YES){}
2012-11-29 14:58:05
2600
1
转载 IOS 开发,调用打电话,发短信,打开网址
IOS 开发,调用打电话,发短信,打开网址1、调用 自带mail[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://admin@hzlzh.com"]]; 2、调用 电话phone[[UIApplication sharedApplication] open
2012-11-27 14:45:59
366
原创 获取tableViewCell点击的位置和indexPath
UIButton* coverButton = [UIButton buttonWithType:UIButtonTypeCustom]; coverButton.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); [coverButton addTarget:se
2012-11-26 18:59:18
809
原创 ios tableCell 中同时获取点击的位置和所在的indexPath
UITapGestureRecognizer *clickGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(clickGesture:)]; [cell addGestureRecognizer:clickGesture]; [clickGesture release];
2012-11-26 16:02:49
1126
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人