Sportica   Sportica

06 2013 档案

摘要:http://www.cnblogs.com/qingjoin/p/3160945.htmliOS7 的这个功能确实不错。我刚试了下,用官方提供的API ,简单的几句代码就能实现文本转语音!Xcode 5.0工程建好后首先把AVFoundation.framework 加入到工程 AVSpeechSynthesizer *av = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc]initWithString:@"Hello qingjoin" 阅读全文
posted @ 2013-06-28 15:22 qingjoin 阅读(7888) 评论(4) 推荐(2) 编辑
摘要:The document "ViewController.xib" could not be opened. Could not read archive.Please use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility.Xcode 升到5.0后。再回去用4.6打开的时候 .xib文件就会提示这个错误解决办法:用5.0打开project. 选择.xib文件。然后在右边的列表里找到Interface Bui 阅读全文
posted @ 2013-06-27 14:28 qingjoin 阅读(3403) 评论(2) 推荐(1) 编辑
摘要:UIPanGestureRecognizer *recognizer = [[[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(paningGestureReceive:)]autorelease]; [recognizer delaysTouchesBegan]; [self.view addGestureRecognizer:recogn... 阅读全文
posted @ 2013-06-24 17:46 qingjoin 阅读(737) 评论(0) 推荐(0) 编辑
摘要:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launch. self.viewController = [[[V... 阅读全文
posted @ 2013-06-24 17:26 qingjoin 阅读(226) 评论(0) 推荐(0) 编辑
摘要:loginView.backgroundColor=[UIColorcolorWithHue:0saturation:0brightness:0.9alpha:0.85];可随意调 阅读全文
posted @ 2013-06-24 11:29 qingjoin 阅读(1490) 评论(0) 推荐(0) 编辑
摘要:int hS =_timeValue; //_timeValue 单位毫秒 hS = hS%1000; //毫秒秒 int h = sd/(60*60); //时 int m = sd/60 - h*60; //分 int s = sd - h*(60*60) - m*60; //秒 阅读全文
posted @ 2013-06-09 13:27 qingjoin 阅读(325) 评论(0) 推荐(0) 编辑

  Sportica
点击右上角即可分享
微信分享提示