07 2014 档案

摘要:UIPageControl *pageControl = [[UIPageControl alloc] init]; pageControl.center = CGPointMake(w * 0.5, h - 20); pageControl.bounds = CGRectMa... 阅读全文
posted @ 2014-07-16 09:36 2014_4_30 阅读(783) 评论(0) 推荐(0) 编辑
摘要://1.创建图片 _userImage = [[UIImageView alloc]init]; //2.设置图片圆角 _userImage.layer.cornerRadius = 33; _userImage.layer.masksToBounds = YES;... 阅读全文
posted @ 2014-07-16 09:33 2014_4_30 阅读(465) 评论(0) 推荐(0) 编辑
摘要:_scrollView = [[UIScrollView alloc] init]; //height = 0:禁止垂直方向滚动 _scrollView.contentSize = CGSizeMake(kTwo * kScreenW, 0); //不显示水平方向的滚动... 阅读全文
posted @ 2014-07-16 09:28 2014_4_30 阅读(109) 评论(0) 推荐(0) 编辑
摘要:照此方法打开引用你这个图片的sb或者xib:然后搜索你的这个图片名称:删除这个图片名称的引用。如果还是不行的话,就删除此sb或xib文件然后重新创建。 阅读全文
posted @ 2014-07-16 09:20 2014_4_30 阅读(928) 评论(0) 推荐(0) 编辑
摘要:- (void)viewDidLoad{ [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor];} 阅读全文
posted @ 2014-07-16 09:18 2014_4_30 阅读(161) 评论(0) 推荐(0) 编辑
摘要:[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:?] animated:YES];或for (UIViewController *temp ... 阅读全文
posted @ 2014-07-16 09:16 2014_4_30 阅读(174) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2014-07-13 22:23 2014_4_30 阅读(5) 评论(0) 推荐(0) 编辑
摘要:1.把当前时间转为字符串 (NSDate与北京时间相隔8小时,格式化之后就是北京时间) NSDate *date = [NSDate date]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc]init]; [dateFo... 阅读全文
posted @ 2014-07-06 16:04 2014_4_30 阅读(389) 评论(0) 推荐(0) 编辑
摘要:#pragma mark - 保存数据到本地Plist文件中- (void)saveValidateCountWithDate:(NSString *)date count:(NSString *)count fileName:(NSString *)fileName{ //1.调用方法... 阅读全文
posted @ 2014-07-06 15:58 2014_4_30 阅读(552) 评论(0) 推荐(0) 编辑
摘要:@interface RootViewController (){ UIView *view1; UIView *view2; int flag;}@end@implementation RootViewController- (void)viewDidLoad{ [s... 阅读全文
posted @ 2014-07-02 09:26 2014_4_30 阅读(325) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示