- 博客(4)
- 收藏
- 关注
原创 AudioQueue实现歌曲快进和后退
-(void)setCurrentTime:(NSTimeInterval)currentTime{ [_lock lock]; /* 获取queue 已经播放的时间 */ NSTimeInterval playedTime = GetQueueCurrentTime(self); /* 算出 拖动后的时间 和 ...
2019-08-29 21:27:51 376
原创 UIScrolloView的简单用法
最近经常使用 UIScrolloView 简单的总结了一下经常使用的方法 只写一下 滚动的 方法和属性吧 UIScrollView *scro = [[UIScrollView alloc] initWithFrame:[UIScreen mainScreen].bounds]; scro.frame = CGRectMake(0, 0, self.
2015-11-04 13:59:13 223
原创 UIButton 的 常用方法
Btton 的 常用方法 只是简单的 总结 一下 经常用的 Buttonde 使用方法 初学者 看看还是挺好接受的 初始化 在使用MRC 的时候 最好 使用 构造器 因为此构造器无需考虑引用计数 UIButton *button = [UIButton buttonWithType:5]; 因为buttonWithType 为 枚举类型
2015-10-27 20:18:32 274
转载 iOS中UITextField 使用全面解析
文章转载于http://www.3lian.com/edu/2012/11-08/43227.html //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才
2015-10-27 15:26:45 210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人