- 博客(6)
- 收藏
- 关注
原创 No matching provisioning profiles found 真机测试问题
No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.xxxx.项目名” were found. 把
2016-07-26 17:26:01 323
转载 TableView 下拉 HeaderView 放大
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { // 偏移的y值 CGFloat yOffset = scrollView.contentOffset.y; //拉伸后的图片的frame应该是同比例缩放。 if (yOffset CGFloat totalOff
2016-07-26 17:22:59 338
翻译 ios 验证码生成
// 生成 "0000-9999" 4位验证码 int num = (arc4random() % 10000); randomNumber = [NSString stringWithFormat:@"%.4d", num]; NSLog(@"%@", randomNumber); // 生成 "000000-999999" 6位验证码 int num = (arc4rando
2016-07-26 17:17:12 202
翻译 删除试图
NSMutableArray *array = [NSMutableArray arrayWithArray:self.navigationController.viewControllers]; [array enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { i
2016-07-26 17:14:40 235
翻译 ios本地存储数据
//本地存储数据 NSUserDefaults *defaults =[NSUserDefaults standardUserDefaults]; NSString *name =@”default string“; [defaults setObject:firstName forKey:@"name"]; //获得UIImage实例 UIImage *image=[[UIImag
2016-07-26 17:13:47 152
翻译 // 去掉TabBar上边的线
[self.tabBarController.tabBar setTranslucent:NO]; [self.tabBarController.tabBar setShadowImage:[[UIImage alloc] init]]; [self.tabBarController.tabBar setBackgroundImage:[[UIImage alloc] init]];
2016-07-26 17:12:47 271
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人