上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: HTML 文本格式化标签 标签 描述 <b> 定义粗体文本 <em> 定义着重文字 <i> 定义斜体字 <small> 定义小号字 <strong> 定义加重语气 <sub> 定义下标字 <sup> 定义上标字 <ins> 定义插入字 <del> 定义删除字 HTML "计算机输出" 标签 标签 描 阅读全文
posted @ 2016-07-12 14:45 柳仙慧子 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1. //获取当前时间,日期 NSDate *dateTime = [NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"YYYY/ 阅读全文
posted @ 2016-07-06 16:37 柳仙慧子 阅读(144) 评论(0) 推荐(0) 编辑
摘要: NSMutableArray *array = [[NSMutableArray alloc] init]; NSInteger num = 7; NSNumber *number = [NSNumber numberWithInt:num]; [array addObject:number]; N 阅读全文
posted @ 2016-07-02 14:58 柳仙慧子 阅读(2958) 评论(0) 推荐(0) 编辑
摘要: //自动折行设置 addressDetailLab.lineBreakMode = NSLineBreakByWordWrapping; addressDetailLab.numberOfLines = 0; //自适应 // CGRect rect = [addressDetailLab.text 阅读全文
posted @ 2016-06-30 14:28 柳仙慧子 阅读(3386) 评论(0) 推荐(0) 编辑
摘要: 1.model类里面添加index #import <MAMapKit/MAMapKit.h> #import <AMapSearchKit/AMapCommonObj.h> @interface POIAnnotation : NSObject <MAAnnotation> - (id)initW 阅读全文
posted @ 2016-06-29 20:03 柳仙慧子 阅读(8838) 评论(0) 推荐(0) 编辑
摘要: 在 UIView 中有一个autoresizingMask的属性,它对应的是一个枚举的值(如下),属性的意思就是自动调整子控件与父控件中间的位置,宽高。 1 2 3 4 5 6 7 8 9 enum { UIViewAutoresizingNone = 0, UIViewAutoresizingFl 阅读全文
posted @ 2016-06-23 18:50 柳仙慧子 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script type="text/javascript" src="../script/api.js"></script> </ 阅读全文
posted @ 2016-06-22 16:58 柳仙慧子 阅读(90) 评论(0) 推荐(0) 编辑
摘要: ///原图压缩(压缩完直接nsdata类型保存到本地writeToFile) - (NSData *)resetSizeOfImageData:(UIImage *)source_image { NSData *data; if (UIImagePNGRepresentation(source_im 阅读全文
posted @ 2016-06-22 13:36 柳仙慧子 阅读(145) 评论(0) 推荐(0) 编辑
摘要: NSFileManager*fileManager = [[NSFileManager alloc] init]; NSString *pathDocuments = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDo 阅读全文
posted @ 2016-06-22 11:27 柳仙慧子 阅读(771) 评论(0) 推荐(0) 编辑
摘要: NSLog([NSString stringWithFormat:@"%@/%@B.jpg", createDir, uuid]);//这是我的写法 应该写成 NSString *str = [NSString stringWithFormat:@"%@/%@B.jpg", createDir, u 阅读全文
posted @ 2016-06-21 23:20 柳仙慧子 阅读(11298) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页