我想知道是誰,實現下降塊動畫,他們在什麼產品圖的應用程序的方式做 https://itunes.apple.com/au/app/whats-pic-guess-word-hiding/id600716806?mt=8如何實現「動態圖像」iPhone應用程序,如磚塊動畫?
任何幫助將高度讚賞。
我想知道是誰,實現下降塊動畫,他們在什麼產品圖的應用程序的方式做 https://itunes.apple.com/au/app/whats-pic-guess-word-hiding/id600716806?mt=8如何實現「動態圖像」iPhone應用程序,如磚塊動畫?
任何幫助將高度讚賞。
如果你的意思是動畫,當塊掉落下來,旋轉,你可以使用的UIView
transform屬性是這樣的:
CGAffineTransform transform = CGAffineTransformMakeTranslation(0, 200);
transform = CGAffineTransformRotate(transform, 20);
[UIView animateWithDuration:10
animations:^{
view.transform = transform;
}];
如果你想擁有一模一樣的動畫,你可以使用animateWithDuration:delay:options:animations:completion:添加一些選項動畫
..或者你可以完全節省您的精力和從別人誰也做了同樣的事情,如得到一個現成的入門套件自己
http://www.sellmyapplication.com/source-code/whats-the-pic-starter-kit/