摘要:打电话-⽅方法1 ● 最简单最直接的⽅方式:直接跳到拨号界⾯面 NSURL *url = [NSURL URLWithString:@"tel://10010"]; [[UIApplication sharedApplication] openURL:url]; ● 缺点 电话打完后,不会⾃自动回到
阅读全文
摘要:main.m // // main.m // 8A10.Block的复习 // // Created by huan on 16/2/8. // Copyright © 2016年 huanxi. All rights reserved. // #import <Foundation/Foundat
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A08.动画总结 // // Created by huan on 16/2/6. // Copyright © 2016年 huanxi. All rights reserved
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A07.底部旋转菜单 // // Created by huan on 16/2/6. // Copyright © 2016年 huanxi. All rights reserv
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A06.车小弟 // // Created by huan on 16/2/5. // Copyright © 2016年 huanxi. All rights reserved.
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A05.核心动画 CAAnimationGroup // // Created by huan on 16/2/5. // Copyright © 2016年 huanxi. Al
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A04.图片浏览(转场动画) // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights re
阅读全文
摘要:Main.storyboard ViewControlller.m // // ViewController.m // 8A03.图片的抖动 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserv
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A02.核心动画 - CAKeyframeAnimation // // Created by huan on 16/2/4. // Copyright © 2016年 huanx
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A01.核心动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved
阅读全文
摘要:Main.storyboard // // ViewController.m // 7A14.图层的核心动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved. // #import "
阅读全文
摘要:核⼼心动画(Core Animation) Core Animation是⼀一组⾮非常强⼤大的动画处理API,使⽤用它能做出⾮非常炫丽的动画 效果,⽽而且往往是事半功倍,使⽤用它需要先添加QuartzCore.framework和引⼊入 对应的框架<QuartzCore/QuartzCore.h>
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 7A13.图层的隐式动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reser
阅读全文
摘要:Main.storyboard ViewController.m // // ViewController.m // 7A12.position和anchorPoint // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All
阅读全文
摘要:Main.storyboard // // ViewController.m // 7A11.图层的transform属性 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved. // #i
阅读全文
摘要:Main.storyboard ViewConroller.m // // ViewController.m // 7A10.图层基本使用 // // Created by huan on 16/2/3. // Copyright © 2016年 huanxi. All rights reserve
阅读全文
摘要:掌握 ● CALayer的基本属性 ● CALayer和UIView的关系 ● position和anchorPoint的作⽤用 CALayer ● 在iOS中,你能看得见摸得着的东西基本上都是UIView,⽐比如⼀一个按钮、⼀一个⽂文本标签、⼀一 个⽂文本输⼊入框、⼀一个图标等等,这些都是UIVi
阅读全文
摘要:Main.storyboard 1.敲击手势 ViewController.m #import "ViewController.h" @interface ViewController ()<UIGestureRecognizerDelegate> @property (weak, nonatomi
阅读全文
摘要:1.什么是响应者 继承了UIResponder的对象就是响应者 面试题 响应者的链条是什么? 1.它是一种事件处理机制,由多个响应者对象连接起来的链条,使得事件可以沿着这些对象进行传递。 2.如果一个响应者对象不能处理某个事件或动作消息,则将该事件消息重新发给链中的上一个响应者。 3.消息沿着响应者
阅读全文
摘要:提示:UIImageView的userInteractionEnabled 默认就是NO,因此UIImageView以及它的子控件默认是不能接触事件的 Main.storyboard ViewController.m // // ViewController.m // 7A02.触摸事件的传递 //
阅读全文