Iphone page curl effect -


i using code page curl effect ....its work fine in simulator , device... not (settype:@"pagecurl") apple documented api , caused rejected iphone developer program during app store review process:

animation = [catransition animation]; [animation setdelegate:self]; [animation setduration:1.0f]; animation.startprogress = 0.5; animation.endprogress   = 1; [animation settimingfunction:uiviewanimationcurveeaseinout]; [animation settype:@"pagecurl"]; [animation setsubtype:@"fromright"]; [animation setremovedoncompletion:no]; [animation setfillmode: @"extended"]; [animation setremovedoncompletion: no]; [[imageview layer] addanimation:animation                           forkey:@"pageflipanimation"];  

so changed , using

[uiview beginanimations:nil context:null]; [uiview setanimationduration:1]; [uiview setanimationdelegate:self]; [uiview setanimationbeginsfromcurrentstate:yes]; [uiview setanimationcurve:uiviewanimationcurvelinear]; [uiview setanimationwillstartselector:@selector(transitionwillstart:finished:context:)]; [uiview setanimationdidstopselector:@selector(transitiondidstop:finished:context:)]; // other animation properties [uiview setanimationtransition:uiviewanimationtransitioncurlup                         forview:imageview cache:yes]; // set view properties [uiview commitanimations]; 

in above code want stop page curl effect @ midway.. cant stop in midway map applications in ipod... fix this? or there apple documented methods used page curl effect in ipod touch?

i searching lot. didnt answer ? can me? in advance..plz

if may?

sampleviewcontroller *sampleview = [[[sampleviewcontroller alloc] init] autorelease]; [sampleview setmodaltransitionstyle:uimodaltransitionstylepartialcurl]; [self presentmodalviewcontroller:sampleview animated:yes]; 

......


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -