会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tongyuling
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2016年8月26日
自动布局库SDAutoLayout(一行代码搞定自动布局)
摘要: * SDAutoLayout地址:https://github.com/gsdios/SDAutoLayout * SDAutoLayout视频教程:http://www.letv.com/ptv/vplay/24038772.html * SDAutoLayout用法示例:https://gith
阅读全文
posted @ 2016-08-26 17:14 tongyuling
阅读(139)
评论(0)
推荐(0)
2016年8月24日
iOS 导航返回第 x 界面
摘要: x:你想返回的第几个界面 返回方法: int index = (int)[[self.navigationController viewControllers]indexOfObject:self]; [self.navigationController popToViewController:[s
阅读全文
posted @ 2016-08-24 10:14 tongyuling
阅读(149)
评论(0)
推荐(0)
2016年7月15日
iOS 语音
摘要: #import <AVFoundation/AVFoundation.h> @property (nonatomic, strong) AVSpeechSynthesizer *synthesizer; - (void)viewDidLoad { [super viewDidLoad]; self.
阅读全文
posted @ 2016-07-15 09:56 tongyuling
阅读(103)
评论(0)
推荐(0)
2016年6月27日
iOS 归档解档
摘要: 归档: NSMutableData *data = [[NSMutableData alloc] init]; //创建归档辅助类 NSKeyedArchiver *archiver = [[NSKeyedArchiver alloc] initForWritingWithMutableData:d
阅读全文
posted @ 2016-06-27 17:45 tongyuling
阅读(244)
评论(0)
推荐(0)
2016年6月15日
设置textview的限制字数(含中文)
摘要: #pragma mark 设置textview的限制字数(含中文) -(void)textViewDidChange:(UITextView*)textView { NSString*textString = textView.text; NSString*language = textView.t
阅读全文
posted @ 2016-06-15 14:24 tongyuling
阅读(2318)
评论(0)
推荐(0)
2016年6月7日
ios学习项目
摘要: https://github.com/Tim9Liu9/TimLiu-iOS#%E5%AE%8C%E6%95%B4%E9%A1%B9%E7%9B%AE
阅读全文
posted @ 2016-06-07 11:49 tongyuling
阅读(101)
评论(0)
推荐(0)
iOS UIImageView Gif 动画
摘要: //设置gif图片的播放速率 self.imageView.animationDuration = 1.0f; //设置gif图片数组 self.imageView.animationImages = imageArray; //设置gif图片播放的重复次数,-1为无穷次 self.imageVie
阅读全文
posted @ 2016-06-07 10:00 tongyuling
阅读(541)
评论(0)
推荐(0)
2016年6月3日
iOS 图片对不上 imageView 怎么办
摘要: //图片适应尺寸 self.imageView.contentMode = UIViewContentModeScaleToFill; //填充 self.imageView.clipsToBounds = NO; // 裁剪边缘
阅读全文
posted @ 2016-06-03 16:57 tongyuling
阅读(156)
评论(0)
推荐(0)
2016年6月1日
iOS 获取今年指定月的天数
摘要: //调用 NSInteger i = [self howManyDaysInThisMonth:2]; NSLog(@"%ld",(long)i); // 获取今年指定月的天数 - (NSInteger)howManyDaysInThisMonth :(NSInteger)imonth { int
阅读全文
posted @ 2016-06-01 14:08 tongyuling
阅读(1888)
评论(0)
推荐(0)
2016年5月31日
iOS 如何检测应用更新?
摘要: 如何检测应用更新? 你可以使用友盟等第三方工具,但如果你只想使用轻量级的方法,只需GET这个接口:http://itunes.apple.com/lookup?id=你的应用程序的ID,解析返回的json字符串就行。
阅读全文
posted @ 2016-05-31 17:24 tongyuling
阅读(326)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告