ios 偶的脚印
文章平均质量分 68
wangwei0327
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
获取UItableView中button所在的section和row
cell 加button UIButton *MapButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [MapButton setFrame:CGRectMake(110,180 , 75, 30)]; [MapButton setContentHorizontalAlignment:UIContr转载 2012-11-02 11:32:26 · 862 阅读 · 0 评论 -
获取类的名字
NSString *viewControllerName = [NSString stringWithUTF8String: object_getClassName (viewController) ]; NSLog(@"viewControllerName:%@",viewControllerName );转载 2012-11-01 18:37:03 · 366 阅读 · 0 评论 -
从网络获取图片加到view
NSURL *url = [NSURL URLWithString: @"http://www.baidu.com/img/baidu_sylogo1.gif"]; UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 300, 340)]; imgView.转载 2012-11-01 18:30:50 · 356 阅读 · 0 评论 -
存取数据
存 [[NSUserDefaults standardUserDefaults] setObject: dic forKey: @"dicinfo"]; [[NSUserDefaults standardUserDefaults] synchronize]; 取 NSMutableDictionary *dicinfoo = [[NSUserDefaults sta原创 2012-11-02 11:38:36 · 353 阅读 · 0 评论 -
UITableView 遇到的小或大的问题
问题 1 : cell中放置标签后,上下滑动tableView,标签上的文本重叠。 解决办法: 把标签remove掉 -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath { staticNSString*CellId原创 2012-10-26 11:43:05 · 444 阅读 · 0 评论
分享