11 2014 档案

摘要:比如给 self.view设置背景图片,发现图片小了或者没延伸开来,这时候应该根据size来调整图片了-(UIImage *)OriginImage:(UIImage *)image scaleToSize:(CGSize)size{ UIGraphicsBeginImageContext(s... 阅读全文
posted @ 2014-11-20 09:29 Kamto 阅读(104) 评论(0) 推荐(0)
摘要:1.取到datepick的时间 NSDateFormatter *formatter = [[NSDateFormatter alloc]init]; [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"]; NSString *... 阅读全文
posted @ 2014-11-19 18:50 Kamto 阅读(171) 评论(0) 推荐(0)