2011-05-19 44 views
0

這將無法正常工作,我有NSMutableArray - uidslist,並且需要將它作爲urlString發送到doAfterRequestComplete,我該怎麼做呢?發送參數到無效的目標c,iphone sdk

請幫助我,我的目標C是新

[uidstr performSelector:@selector(doAfterRequestComplete:) ]; 

.M

-(void)doAfterRequestComplete:(NSMutableString *)urlString 
{ 
    NSLog(@"%@",urlString); 
} 

.H

-(void)doAfterRequestComplete:(NSMutableString *)urlString; 

回答

2

您需要添加對象(並調用它用這種方法對象,可能是自己):

[self performSelector:@selector(doAfterRequestComplete:) withObject: uidstr];