Iphone page curl effect

前端 未结 4 666
广开言路
广开言路 2020-12-23 15:46

I am using this code for Page curl effect ....Its work fine in simulator and device... But its not (setType:@\"pageCurl\") apple documented api , this caused it to be reject

4条回答
  •  清歌不尽
    2020-12-23 16:00

    Must the stop-at-mide-point page curl effect be used? The easiest method is to replace page curl by a simpler animation (e.g. slide-out), or just curl the whole view up.

    You may try to cheat by constructing the string at run time e.g.

    [animation setType:[@"page" stringByAppendingString:@"Curl"]];
    

    although you're still using an undocumented method.

提交回复
热议问题