
IOS
wangyangkobe
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
关于awakeFromNib的学习
When a nib is loaded, the nib loader allocates and initializes all objects, then hooks up all of their outlets and actions. Because of the order in which this happens, you cannot access outlets in you原创 2014-02-08 22:49:47 · 16582 阅读 · 0 评论 -
UIPageControl 和 UISrollView 使用
UIScrollView的判断位置的属性如下: contentSize:CGSize类型,scrollview可以滑动的区域,例如,一个view的frame为(0,0,320,480),而scrollview的contentSize为(320,1080),则表示scrollView的垂直滑动区域为整个屏幕的3倍。 contentView:scrollview的内容显示区域,一般原创 2014-02-09 19:09:35 · 1600 阅读 · 0 评论 -
移动UIView的方法
方法1: - (void) moveAlert: (UIAlertView *) alertView { CGContextRef context = UIGraphicsGetCurrentContext(); NSLog(@"%@", context); [UIView beginAnimations:nil context:context];原创 2014-02-10 19:30:17 · 2305 阅读 · 0 评论