摘要: 1.获取世界统一时间和当前城市时间 -(void)getNowDate{ NSDate *nowDate = [NSDate date]; NSTimeZone *localTimeZone = [NSTimeZone localTimeZone]; NSInteger ti = [localTim 阅读全文
posted @ 2023-07-19 12:05 SadicZhou 阅读(143) 评论(0) 推荐(0) 编辑
摘要: //获取当前时间戳 -(NSString *) getTimeNow{ NSDateFormatter *formatter = [[NSDateFormatter alloc] init] ; [formatter setDateStyle:NSDateFormatterMediumStyle]; 阅读全文
posted @ 2023-07-19 11:39 SadicZhou 阅读(1660) 评论(0) 推荐(0) 编辑
摘要: 使用OC进行IOS开发页面跳转传递参数的思路: 1.在AppDelegate.h中定义一个可变词典 2.在AppDelegate.m中初始化该可变词典 3.向字典中添加要传递的参数 4.在目标页面拿到参数 1.在AppDelegate.h中定义一个可变词典 #import <UIKit/UIKit. 阅读全文
posted @ 2023-07-19 11:21 SadicZhou 阅读(305) 评论(0) 推荐(0) 编辑