我的节目用d子进行。
-(void) viewdidLoad {
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH,0),
^ {
for(int i=0; i<screenshotNum ; i++)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString * url=[detailItem.mScreenshot objectAtIndex:i];
NSDictionary *args=[NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:i], @"screenNum",
[NSString stringWithString:url],@"url",
nil];
[self loadImageScreenshot:args];
[pool release];
}
});
}
当Idismiss ModalViewController
时,问题依然存在。
在我回击纽顿时,我想宣布这些read。
-(void) BackButtonPressed:(id)sender
{
[self dismissModalViewControllerAnimated:YES];
}
我如何增加守则?