摘要: NSDate * date = [NSCalendarDate date]; NSLog(@"%@", date);日历在IOS里报错,,。 NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter ... 阅读全文
posted @ 2014-06-19 20:12 管小木 阅读(459) 评论(0) 推荐(0) 编辑
摘要: //向下个视图传值#pragma mark - Navigation- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{//你连接的 identifier 的内容 if ([[segue identifier] ... 阅读全文
posted @ 2014-06-19 13:19 管小木 阅读(222) 评论(0) 推荐(0) 编辑
摘要: // IOS相应路径 NSString* bundlePath = [[NSBundle mainBundle] bundlePath]; NSLog(@"bundlePath = %@", bundlePath);// documents NSString* documentsDirec... 阅读全文
posted @ 2014-06-19 10:49 管小木 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 刚刚遇到的两个错误,。1,Terminating app due to uncaught exception'NSGenericException', reason: 'Push segues can only be used when the sourcecontroller is managed... 阅读全文
posted @ 2014-06-19 09:57 管小木 阅读(344) 评论(0) 推荐(0) 编辑