iphone - AFOpenFlow touchevent Image -
does know solution implement @ code, pictures touched , event started?
- (void)viewdidload { [super viewdidload]; // loading images queue loadimagesoperationqueue = [[nsoperationqueue alloc] init]; nsstring *imagename; (int i=0; < 10; i++) { imagename = [[nsstring alloc] initwithformat:@"cover_%d.jpg", i]; imageview = [[uiimageview alloc] initwithimage:[uiimage imagenamed:imagename]]; uiimage *aktuellesimage = imageview.image; uiimage *scaledimage = [aktuellesimage scaletosize:cgsizemake(100.0f, 100.0f)]; [(afopenflowview *)self.view setimage:scaledimage forindex:i]; [imagename release]; [aktuellesimage release]; } [(afopenflowview *)self.view setnumberofimages:10]; }
i hope me , sorry bad english :)
in afopenflowview.m methods touchesbegan, touchmoves , touchended overriden, create new delegate method usage , adapt these methods.
Comments
Post a Comment