会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
新年新气象934060369
欢迎发现问题后骚扰,我也好及时改正
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
34
35
下一页
2016年9月14日
NSString遍历汉子
摘要: uitextfield获取中文:
阅读全文
posted @ 2016-09-14 09:15 新年新气象
阅读(193)
评论(0)
推荐(0)
2016年9月13日
UITableview 关于键盘挡住输入框解决方法
摘要: // // AboutKeyBoardEventViewController.m // QueryBussinessInfo // // Created by mac on 16/8/23. // Copyright © 2016年 cqytjr. All rights reserved. // #import "AboutKeyBoardEventViewController.h" ...
阅读全文
posted @ 2016-09-13 14:50 新年新气象
阅读(292)
评论(0)
推荐(0)
UILabel 复制
摘要: //添加一个长按响应方法 - (void)addLongPressGestureRecognizer { UILongPressGestureRecognizer * longPress = [[UILongPressGestureRecognizer alloc ]initWithTarget:s
阅读全文
posted @ 2016-09-13 11:56 新年新气象
阅读(139)
评论(0)
推荐(0)
2016年9月8日
UIAlertview 添加图片
摘要: - (void)willPresentAlertView:(UIAlertView *)alertView { 在这个方法中, 绘制需要的东西 uiview *myView = [uiview alloc] init alertView addsubview:myview } 方法二、 自定义一个a
阅读全文
posted @ 2016-09-08 16:01 新年新气象
阅读(367)
评论(0)
推荐(0)
2016年8月24日
根据卡号自动识别银行
摘要: if (!dic) { dic = @{@"402791":@"工商银行",@"427028":@"工商银行",@"427038":@"工商银行",@"548259":@"工商银行",@"620200":@"工商银行",@"620302":@"工商银行",@"620402":@"工商银行",@"62
阅读全文
posted @ 2016-08-24 09:10 新年新气象
阅读(817)
评论(0)
推荐(0)
2016年8月16日
oc 是否允许远程通知
摘要: UIUserNotificationSettings *setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; UIUserNotificationTypeNone != setting.types
阅读全文
posted @ 2016-08-16 16:23 新年新气象
阅读(188)
评论(0)
推荐(0)
2016年8月3日
UILabel富文本 段落格式以及UILabel添加图片
摘要: 之前文本整理有一点乱,这边重新整理一下,下面是效果图,一共两个UILabel, 富文本整理: 源码展示: NSMutableParagraphStyle用法整理: 获取富文本的高度和普通label的高度一样: 注意事项:我们设置NSMutableParagraphStyle的lineSpacing可
阅读全文
posted @ 2016-08-03 13:49 新年新气象
阅读(2334)
评论(0)
推荐(0)
2016年8月1日
iOS 加载本地的html文件
摘要: 方法1: 方法2:
阅读全文
posted @ 2016-08-01 12:05 新年新气象
阅读(2118)
评论(0)
推荐(0)
2016年7月27日
iOS 计算两个坐标之间的距离
摘要: //第一个坐标 CLLocation *before=[[CLLocation alloc] initWithLatitude:29.553968 longitude:106.538872]; //第二个坐标 CLLocation *current=[[CLLocation alloc] initW
阅读全文
posted @ 2016-07-27 10:06 新年新气象
阅读(842)
评论(0)
推荐(0)
2016年7月25日
iOS缓存
摘要: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { // 1.创建请求 NSURL *url = [NSURL URLWithString:@"http://127.0.0.1:8080/YYServer/video"]; NSMutableURLRequest *request = [NS...
阅读全文
posted @ 2016-07-25 12:54 新年新气象
阅读(147)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
34
35
下一页
公告