摘要:        
[formData appendPartWithFileData:upImageDataname:@"file"fileName:@"d.jpg"mimeType:@""];,因为 name,上传这两个文件名都是有要求的,    阅读全文
        
            posted @ 2014-01-25 15:52
路在脚下,
阅读(155)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
+ (NSString*)getPathByFileName:(NSString *)_fileName ofType:(NSString *)_type { NSString* fileDirectory = [[[VoiceRecorderBaseVCgetCacheDirectory]stri    阅读全文
        
            posted @ 2014-01-24 14:34
路在脚下,
阅读(281)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
self.soundBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;    阅读全文
        
            posted @ 2014-01-24 11:44
路在脚下,
阅读(108)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
#pragma mark - 播放原wav - (IBAction)playWav:(id)sender { UIButton *btn = (UIButton *)sender; playIndex = btn.tag; ChatMessageInfo *info = [self.dataArra    阅读全文
        
            posted @ 2014-01-23 17:16
路在脚下,
阅读(597)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
-(void)updateSound{ NSIndexPath *_path = [NSIndexPathindexPathForItem:playIndexinSection:0]; IMVoiceCell *cell = (IMVoiceCell *)[self.tableViewcellForRowAtIndexPath:_path]; self.soundBtn = cell.soundBtn; TTLog(@".......................%d",self.soundBtn.tag);    阅读全文
        
            posted @ 2014-01-23 17:15
路在脚下,
阅读(128)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
-(void)initVoiceModule{ //初始化录音vc self.recorderVC = [[ChatVoiceRecorderVCalloc]init]; self.recorderVC.vrbDelegate = self; //初始化播放器 self.player = [[AVAudioPlayer alloc]init]; //添加长按手势 UILongPressGestureRecognizer *longPrees = [[UILongPressGestureRecognizeralloc]initWithTarget:selfaction:@sel...    阅读全文
        
            posted @ 2014-01-23 16:52
路在脚下,
阅读(257)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
#pragma mark - 播放原wav - (IBAction)playWav:(id)sender { UIButton *btn = (UIButton *)sender; ChatMessageInfo *info = [self.dataArray objectAtIndex:btn.t    阅读全文
        
            posted @ 2014-01-23 13:52
路在脚下,
阅读(357)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
-(IBAction)initialTimer{ if (!soundTimer) { soundTimer = [NSTimerscheduledTimerWithTimeInterval:0.5ftarget:selfselector:@selector(testTimer) userInfo:Nilrepeats:YES]; } }-(IBAction)invalidate{ [soundTimersetFireDate:[NSDatedistantFuture]];// [soundTimer invalidate];}-(IBAction)restart{ [soun...    阅读全文
        
            posted @ 2014-01-23 10:52
路在脚下,
阅读(165)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
CGSize timeSize = [self.timeLabel.textsizeWithFont:self.timeLabel.fontconstrainedToSize:CGSizeMake(MAXFLOAT, MAXFLOAT)];1, self.timeLabel.frame = CGRectMake(self.soundBtn.frame.origin.x - timeSize.width, self.timeLabel.frame.origin.y, timeSize.width, self.timeLabel.frame.size.height);2, self....    阅读全文
        
            posted @ 2014-01-22 11:32
路在脚下,
阅读(156)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
timer = [NSTimerscheduledTimerWithTimeInterval:0.1ftarget:selfselector:@selector(updateMeters) userInfo:nilrepeats:YES]; [recorderupdateMeters]; curCo    阅读全文
        
            posted @ 2014-01-22 10:41
路在脚下,
阅读(163)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号