码迷,mamicode.com
首页 >  
搜索关键字:bounds    ( 955个结果
IOS 开发中Transform的使用
Transform 主要用来改变一个视图对象的位置、尺寸或者旋转角度 frame:也可以位置/尺寸bounds:尺寸center:位置最常用的三种方法someView.transform=CGAffineTransformMakeRotation(角度) 旋转 -此角度是弧度制 m_pi m_pi_...
分类:移动开发   时间:2014-11-25 16:13:49    阅读次数:374
IOS 开发中Transform的使用
Transform 主要用来改变一个视图对象的位置、尺寸或者旋转角度 frame:也可以位置/尺寸   bounds:尺寸 center:位置 最常用的三种方法 someView.transform=CGAffineTransformMakeRotation(角度) 旋转     -此角度是弧度制  m_pi      m_pi_2  m_pi_4 …  正数是顺时针  负数是逆...
分类:移动开发   时间:2014-11-25 08:14:10    阅读次数:178
UIWindow使用技巧
看到UIWindow,相信很多人都会想起下方的代码。这是旧版本Xcode提供的模板,用于创建整个项目的视图容器。-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{CGRectbounds=[UIScreenmainScreen].bounds;self.window=..
分类:Windows程序   时间:2014-11-23 08:13:14    阅读次数:220
UIScrollView
- (void)viewDidLoad{ [super viewDidLoad]; UIScrollView *scrollview=[[UIScrollView alloc] initWithFrame:[UIScreen mainScreen].bounds]; scrollview.c...
分类:其他好文   时间:2014-11-23 00:34:53    阅读次数:164
RuntimeError的原因总结及可能的解决办法
大概有这几种:Runtime Error(ARRAY_BOUNDS_EXCEEDED) // array bounds exceed 数组越界Runtime Error(DIVIDE_BY_ZERO) //divisor is nil 除零Runtime Error(ACCESS...
分类:其他好文   时间:2014-11-22 00:44:18    阅读次数:279
ios8页面手写布局代码
AppDelegate: self.window = UIWindow(frame: UIScreen.mainScreen().bounds) self.window!.backgroundColor = UIColor.whiteColor() self...
分类:移动开发   时间:2014-11-19 15:24:47    阅读次数:207
关于Depth Bounds Test (DBT)和在CE3的运用
Depth Bounds Test (DBT)Depth Bounds Test(深度范围检测),是NvdiaGeForce 6系列以后显卡的特性(GPU Programming Guide GeForce 8 and 9 Series),并不是DirectX的特性。所以在例如Nsight和Pix的...
分类:数据库   时间:2014-11-13 22:16:03    阅读次数:356
ios8以上远程推送 demo
-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{self.window=[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]];//Overridepointforcustomizationafterapplicationlaunch.//注册推送通知//[[UIApplic..
分类:移动开发   时间:2014-11-13 19:04:42    阅读次数:440
ios 截屏,截图
#pragma mark 截图 - (UIImage *)capture:(UIView *)view {     UIGraphicsBeginImageContextWithOptions(view.bounds.size, YES, 0.0);     [view.layer renderInContext:UIGraphicsGetCurrentContext()];     U...
分类:移动开发   时间:2014-11-12 19:47:11    阅读次数:200
HelloWorld
HelloWorld! public class LinkInfo { public int line; public Rect bounds; public string token; public string p0; ...
分类:其他好文   时间:2014-11-12 19:33:18    阅读次数:139
955条   上一页 1 ... 84 85 86 87 88 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!