07 2015 档案

摘要:type类型有: 阅读全文
posted @ 2015-07-31 22:32 Emyin 阅读(159) 评论(0) 推荐(0)
摘要:iOS9新出现的 /** Subclass for mass-spring animations. */ @interface CASpringAnimation : CABasicAnimation /* The mass of the object attached to the end of 阅读全文
posted @ 2015-07-31 18:29 Emyin 阅读(150) 评论(0) 推荐(0)
摘要:// 1.设置动画时长 self.imageContainer.animationDuration = 5; // 2.设置动画重复次数 self.imageContainer.animationRepeatCount = 1; // 3.开始动画 [self.imageContainer star 阅读全文
posted @ 2015-07-31 17:57 Emyin 阅读(181) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-31 16:29 Emyin 阅读(7) 评论(0) 推荐(0)
摘要:// NSURL *url = [NSURL URLWithString:@"tel://10010"]; //打电话 NSURL *url = [NSURL URLWithString:@"sms://10010"]; //发短信 [[UIApplication sharedApplication] openURL:url]; 阅读全文
posted @ 2015-07-30 18:38 Emyin 阅读(103) 评论(0) 推荐(0)
摘要:- (void)viewDidLoad { [super viewDidLoad]; UIScrollView *scrollView = [[UIScrollView alloc] init]; scrollView.frame = self.view.bounds; scrollView.delegate = self; [scrollVie... 阅读全文
posted @ 2015-07-30 16:35 Emyin 阅读(350) 评论(0) 推荐(0)
摘要:// 该方法在类被引用的时候就会调用一次,仅会调用一次 + (void)initialize { // 1.获取全局的统一样式的导航栏 UINavigationBar *bar = [UINavigationBar appearance]; [bar setBackgroundImage:[UIImage imageNamed:@"NavBar64"] forBarMet... 阅读全文
posted @ 2015-07-26 19:18 Emyin 阅读(164) 评论(0) 推荐(0)
摘要:CATransition *animation = [[CATransition alloc]init]; animation.type = kCATransitionFromTop; animation.subtype = kCATransitionFromTop; //向上滚动,其他方向自己设置 animation.duration = 0.3; [s... 阅读全文
posted @ 2015-07-25 17:40 Emyin 阅读(144) 评论(0) 推荐(0)
摘要:快捷键是:command + control +[↑|↓] 阅读全文
posted @ 2015-07-25 16:43 Emyin 阅读(156) 评论(0) 推荐(0)
摘要:本文来自 http://www.jianshu.com/p/ef03ec7f23b2 轮播实现步骤 接下来,笔者将从各方面逐一分析 最底层是一个UIView,上面有一个UIScrollView以及UIPageControl,scrollView上有两个UIImageView,imageView宽高 阅读全文
posted @ 2015-07-25 14:57 Emyin 阅读(2005) 评论(0) 推荐(0)
摘要:目录CocoaPods是什么?如何下载和安装CocoaPods?如何使用CocoaPods?场景1:利用CocoaPods,在项目中导入AFNetworking类库场景2:如何正确编译运行一个包含CocoPods类库的项目CocoaPods是什么?当你开发iOS应用时,会经常使用到很多第三方开源类库... 阅读全文
posted @ 2015-07-22 22:07 Emyin 阅读(175) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-17 22:50 Emyin 阅读(3) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-17 15:32 Emyin 阅读(30) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 20:33 Emyin 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 19:34 Emyin 阅读(4) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 17:20 Emyin 阅读(10) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 17:18 Emyin 阅读(14) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 17:05 Emyin 阅读(8) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 15:48 Emyin 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 14:26 Emyin 阅读(16) 评论(0) 推荐(0)
摘要:void other() { // 获得NSCalendar NSCalendar *calendar = nil; if ([NSCalendar respondsToSelector:@selector(calendarWithIdentifier:)]) { calendar = [NSCalendar calendarWithIdentif... 阅读全文
posted @ 2015-07-16 12:19 Emyin 阅读(183) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-16 10:38 Emyin 阅读(3) 评论(0) 推荐(0)
摘要:UIAlertController *controller = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet]; [controller addAction:[UIAlertAction actionWit... 阅读全文
posted @ 2015-07-16 09:27 Emyin 阅读(172) 评论(0) 推荐(0)
摘要:UIRefreshControl *control = [[UIRefreshControl alloc] init]; [control addTarget:self action:@selector(loadNewTopics:) forControlEvents:UIControlEventV 阅读全文
posted @ 2015-07-16 09:06 Emyin 阅读(100) 评论(0) 推荐(0)
摘要:判断控制器view是否加载了 阅读全文
posted @ 2015-07-16 09:05 Emyin 阅读(313) 评论(0) 推荐(0)
摘要:在iOS7之后,苹果会自动给导航控制器里面的所有UIScrollView顶部都会添加额外的滚动区域64. 阅读全文
posted @ 2015-07-16 09:01 Emyin 阅读(529) 评论(0) 推荐(0)
摘要:如果一个View完全透明,可以直接点击后面的东西,可以完全穿透。 阅读全文
posted @ 2015-07-15 21:46 Emyin 阅读(123) 评论(0) 推荐(0)
摘要:在提交更新的app至appstore中时,需要在**.plist中设置app的version信息。Bundle versions string, short CFBundleShortVersionString 面向用户市场的束的版本字符串--用户看到的版本号;Bundle version CFBu 阅读全文
posted @ 2015-07-15 21:34 Emyin 阅读(456) 评论(0) 推荐(0)
摘要:Bundle display name 与 Bundle name 的区别是什么?"Bundle Name" and "Bundle display name"都设置为动态参数${PRODUCT_NAME}。Bundle name - is folder name, where your app ( 阅读全文
posted @ 2015-07-15 21:32 Emyin 阅读(2611) 评论(0) 推荐(0)
摘要:- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event{ if (event.subtype == UIEventSubtypeMotionShake) { NSLog(@"摇晃中"); } } - (BOOL)canBecomeFirstRespon... 阅读全文
posted @ 2015-07-15 21:24 Emyin 阅读(151) 评论(0) 推荐(0)
摘要:if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { NSLog(@"有相机"); } if ([UIImagePickerController isCameraDeviceAvailable:UIImagePick... 阅读全文
posted @ 2015-07-15 20:42 Emyin 阅读(341) 评论(0) 推荐(0)
摘要:#import AudioServicesPlayAlertSound(kSystemSoundID_Vibrate); 阅读全文
posted @ 2015-07-15 20:35 Emyin 阅读(129) 评论(0) 推荐(0)
摘要:iOS 9 后用:PHPhotoLibrary 阅读全文
posted @ 2015-07-15 20:03 Emyin 阅读(120) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2015-07-15 19:45 Emyin 阅读(5) 评论(0) 推荐(0)
摘要:可以让webView内容用缩放手势放大或缩小 阅读全文
posted @ 2015-07-11 20:39 Emyin 阅读(147) 评论(0) 推荐(0)
摘要:@property (nonatomic) BOOL clearsSelectionOnViewWillAppear NS_AVAILABLE_IOS(3_2); // defaults to YES. If YES, any selection is cleared in viewWillAppe 阅读全文
posted @ 2015-07-11 15:25 Emyin 阅读(342) 评论(0) 推荐(0)
摘要:Tab选项卡 公告 规则 论坛 安全 公益 ... 阅读全文
posted @ 2015-07-10 22:30 Emyin 阅读(176) 评论(0) 推荐(0)
摘要:11111 222222 我是MT // 增加 // 1 document.write(''); // 2 // createElement根据标签名创建标签 var div = document.createElement('div'); div.innerHTML = '我是MT'; document.b... 阅读全文
posted @ 2015-07-07 19:25 Emyin 阅读(146) 评论(0) 推荐(0)
摘要:上一张 下一张 阅读全文
posted @ 2015-07-07 10:43 Emyin 阅读(640) 评论(0) 推荐(0)
摘要:0 阅读全文
posted @ 2015-07-06 16:10 Emyin 阅读(392) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-06 15:09 Emyin 阅读(185) 评论(0) 推荐(0)
摘要:--> 阅读全文
posted @ 2015-07-06 12:50 Emyin 阅读(119) 评论(0) 推荐(0)
摘要:12122122112211221122112 隐藏 阅读全文
posted @ 2015-07-06 11:49 Emyin 阅读(445) 评论(0) 推荐(0)
摘要:切换图片 阅读全文
posted @ 2015-07-06 11:45 Emyin 阅读(190) 评论(0) 推荐(0)
摘要:打印结果: 阅读全文
posted @ 2015-07-04 11:55 Emyin 阅读(152) 评论(0) 推荐(0)