我試圖通過使用下面的代碼來實現捲曲效果片斷捲曲效果
捲曲下來
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.95];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown
forView:self.view cache:YES];
[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:)];
[UIView setAnimationDelegate:self];
蜷縮
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.95];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:)];
[UIView setAnimationDelegate:self];
但是這正常工作與縱向模式。
我想在橫向模式下實現它,在右上角和左下角錄音。
目前其工作效果相反。
非常感謝
哦,親愛的...您似乎已將代碼格式化爲引號。 – CodaFi
你是什麼意思「在右上角和左下角錄音」?而當你說它正在逆向工作時:與什麼相反? – EmilioPelaez
目前,捲曲是從右上角下來的,相反,我需要從右下角,反之亦然。 – iscavengers