I searched all posts on google and stackoverflow, but I just can't solve this riddle. I am trying to recreate the effect that the famous todo "Clear" application now makes when adding a new task. They have some kind of animation, due to which a new task appears in some kind of 3D cube effect. The special thing they have is that upon careful examination, the lower left and right corners always remain in the same place.
Now I have the following: one UIView 320x460 installed at the point 0,0, and one UIView 320x460 installed at the point (0, -460). I want the top UIView to go down in the same cubic effect as Clear on top. This is what I have so far:
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
}
It works somehow, but not correctly, as soon as I make a turn, the view becomes larger, and the lower left and right corners are not visible. If I make the view smaller and then make 3Dscale, it will also go bad. I already solved the problem with half the disappearance of the image by setting the zPosition layers correctly, but as far as I understand. I tried to use code from other projects, but all of their 3D cube effects do not match the βClearβ App. The only one that comes close is the iCarousel project, but I cannot use the correct code from the application, I cannot make it work. Can anybody help me?
source share