理论知识网上太多,现在直接甩上一个效果~请各路大神指点~拖动效果如图:#define APPWITH [UIScreen mainScreen].bounds.size.width#define APPHEIGHT [UIScreen mainScreen].bounds.size.height#i...
分类:
其他好文 时间:
2015-10-11 21:33:09
阅读次数:
233
nib只是数据,(data)使用xib删掉一切,添加一下代码 self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; self.window.rootViewController = [Root...
分类:
其他好文 时间:
2015-10-11 19:21:54
阅读次数:
149
#import "ViewController.h"#define IMAGENUMBER 5#define SIZE self.view.bounds.size@interface ViewController (){ UIScrollView *_scrollerView ; UIImageVi...
分类:
其他好文 时间:
2015-10-09 00:26:26
阅读次数:
134
属性说明是否支持隐式动画anchorPoint和中心点position重合的一个点,称为“锚点”,锚点的描述是相对于x、y位置比例而言的默认在图像中心点(0.5,0.5)的位置是backgroundColor图层背景颜色是borderColor边框颜色是borderWidth边框宽度是bounds图...
分类:
其他好文 时间:
2015-10-08 23:00:58
阅读次数:
237
1.准备第三方2. tabbar标签页//程序的window分配内存 self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; [self.window makeKeyAndVisible]; ...
分类:
其他好文 时间:
2015-10-07 17:35:03
阅读次数:
346
UIVIew的autoresizingMask和autoresizesSubviews属性的剖析和frame、bounds、center、transform等属性一样,autoresizingMask和autoresizesSubviews也是属于UIView的几何分类-UIViewGeometry...
分类:
其他好文 时间:
2015-10-06 15:17:51
阅读次数:
106
一、动画块frame bounds center alpha Transition(过渡) transform(动画效果)我们之前使用过的UIView动画 其实本质上也是 CoreAnimation实现的,之上对它里面的动画进行了封装视图支持动画的属性有 frame bounds center a....
分类:
移动开发 时间:
2015-10-02 17:19:43
阅读次数:
268
//初始化 self.textView=[[UITextView alloc]initWithFrame:[[UIScreen mainScreen] bounds]]; //设置内容 self.textView.text=@"显示内容"; //设置字体 self.textView.font=[UI...
分类:
其他好文 时间:
2015-09-30 16:16:36
阅读次数:
139
Add时出错错误信息:Index was outside the bounds of the array.详细信息:at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)at ***...
分类:
编程语言 时间:
2015-09-30 11:00:45
阅读次数:
427
1、在AppDelegage.m 文件 创建self.window 的跟视图(1)初始化窗口self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];(2)初始化菜单栏UIBarViewController ...
分类:
其他好文 时间:
2015-09-28 20:41:48
阅读次数:
163