摘要:
//开启iphone网络开关[UIApplication sharedApplication].networkActivityIndicatorVisible = YES; ASIFormDataRequest *request = [[ASIFormDataRequest alloc] initWithURL:[NSURLURLWithString:host]];//超时时间 request.timeOutSeconds = 30; //定义异步方法 [request setDelegate:self];[request setDidFailSelector:@selector(reques 阅读全文
摘要:
-(void) play_shake_sound_male{ NSString *path = [[NSBundle mainBundle] pathForResource:@"shake_sound_male" ofType:@"wav"]; if (path) { //注册声音到系统 在GDB模式下此句代码,即使不舍断点,也总是停下,继续后正常运行;在LLDB 模式下没有这个问题 AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path],&shake_so. 阅读全文
摘要:
参考:http://blog.csdn.net/studyrecord/article/details/7440004 阅读全文