04 2015 档案

摘要:http://osp.voicecloud.cn/ // // ViewController.m // Custom声纹识别 // // Created by 谢泽锋 on 15/4/30. // Copyright (c) 2015年 谢泽锋. All rights reserved. // #i 阅读全文
posted @ 2015-04-30 11:55 谢小锋 阅读(869) 评论(0) 推荐(0)
摘要:1,这种方法,拨打完电话回不到原来的应用,会停留在通讯录里,而且是直接拨打,不弹出提示NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"186xxxx6979"]; // NSLog(@"str==== 阅读全文
posted @ 2015-04-24 15:15 谢小锋 阅读(259) 评论(0) 推荐(0)
摘要:2015-01-04 10:00:50 来源: CocoaChina 跟贴 0 条 手机看新闻   前言:在iOS开发中,有时候想改一下项目的名字,都会遇到很多麻烦。直接改项目名吧,XCODE又不会帮你改所有的名字。总是有很多文件、文件夹或者是项目设置的项。而且都是不能随便改的,有时候改着改着,编译 阅读全文
posted @ 2015-04-21 16:52 谢小锋 阅读(191) 评论(0) 推荐(0)
摘要:这个api功能就是在NavigationController堆栈内的UIViewController可以支持右滑手势,也就是不用点击右上角的返回按钮,轻轻在屏幕左边一滑,屏幕就会返回,随着ios设备屏幕的增大,这个小功能让手指短,拇指大和手残人士看到了福音。这个功能是好,但是经常我们会有需求定制返回... 阅读全文
posted @ 2015-04-15 16:18 谢小锋 阅读(237) 评论(0) 推荐(0)
摘要:1 。不走代理方法 IOS8以后,需要在info.plist文件里面加NSLocationWhenInUseDescription或NSLocationAlwaysUsageDescription。后面的描述随便加。IOS以后需要到CLLocationManager得代理- (void)locati 阅读全文
posted @ 2015-04-13 21:56 谢小锋 阅读(190) 评论(0) 推荐(0)
摘要://// ViewController.m// 手势识别//// Created by 谢泽锋 on 15/4/2.// Copyright (c) 2015年 谢泽锋. All rights reserved.//#import "ViewController.h"#define imageFra... 阅读全文
posted @ 2015-04-03 14:19 谢小锋 阅读(212) 评论(0) 推荐(0)
摘要:@interface ViewController (){ UIImageView * imageView; 要拖动的图片 CGPoint begin; 纪录开始拖动点}@end@implementation ViewController- (void)viewDidLoad{ [super ... 阅读全文
posted @ 2015-04-02 10:37 谢小锋 阅读(475) 评论(0) 推荐(0)