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"
阅读全文
摘要: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
阅读全文
摘要:UIPanGestureRecognizer *recognizer = [[[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(paningGestureReceive:)]autorelease]; [recognizer delaysTouchesBegan]; [self.view addGestureRecognizer:recogn...
阅读全文
摘要:- (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...
阅读全文
摘要:loginView.backgroundColor=[UIColorcolorWithHue:0saturation:0brightness:0.9alpha:0.85];可随意调
阅读全文
摘要: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; //秒
阅读全文