
iOS初级
Jasonisxu
走在路上,但执于奔跑!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
将一个数组插入到另外一个数组的指定下标
//原数组 NSMutableArray *mutArray=[[NSMutableArray alloc] initWithObjects:@"刘旭",@"jason", nil]; //需要插入的数组 NSArray *array=@[@"123",@"456"]; //获取插入的下标位置和将要插入的数组的长度 NSRange原创 2015-12-28 16:41:57 · 1153 阅读 · 0 评论 -
使用UINavigationController时,子页面判断是从哪个页面push进来的
for (UIViewController *controller in self.navigationController.viewControllers) { NSLog(@"%@",controller.nibName); }原创 2016-01-04 15:16:05 · 623 阅读 · 0 评论 -
navigationController popToViewController的用法
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:0] animated:YES];原创 2015-12-22 10:49:33 · 395 阅读 · 0 评论 -
iOS获取当前app的名称和版本号
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; //手机序列号 NSString* identifierNumber = [[UIDevice currentDevice] uniqueIdentifier]; NSLog(@"手机序列号: %@",identif转载 2016-08-17 10:51:45 · 512 阅读 · 0 评论 -
只在本视图隐藏nav bar
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; //很重要,每次要显示之前都将delegate设置为自己 self.navigationController.delegate = self; _navController=self.navigationCont转载 2017-07-22 02:12:52 · 392 阅读 · 0 评论 -
ios 通过时间戳,以天数分组
原创 2017-08-28 17:15:45 · 2073 阅读 · 0 评论 -
没有内购,却被拒
Dear reviewers: Below is the question of answer. - Does your app access any paid content or services? yes - What are the paid content or services, and what are the costs?In the part of the web原创 2017-08-24 21:57:05 · 1086 阅读 · 0 评论 -
iPhone 手机开发尺寸分辨率(转载补充)
6.5英寸 —— 1242 x 2688 px —— Xs Max —— 0.4620 6.1英寸 —— 828 x 1792 px—— XR —— 0.4620 5.8英寸 —— 1125 x 2436 px —— X/Xs —— 0.4618 5.5英寸 —— 1242...转载 2019-09-03 14:55:13 · 558 阅读 · 0 评论