close
[UIView animateWithDuration:0.5
                          delay:1.0
                        options: UIViewAnimationCurveEaseOut
                     animations:^{
                         self.basketTop.frame = basketTopFrame;
                         self.basketBottom.frame = basketBottomFrame;
                     } 
                     completion:^(BOOL finished){
                         NSLog(@"Done!");
                     }];


[UIView animateWithDuration:0.6f
            delay:0.1f
            options:UIViewAnimationCurveEaseInOut
            animations:^{
                    [starView setCenter:CGPointMake(0, 0)];
                    [starView setAlpha:0.0f];
            }
            completion:^(BOOL finished){
                        [starView removeFromSuperview];
                        points++;
            }
];
arrow
arrow
    全站熱搜

    pcwiki 發表在 痞客邦 留言(0) 人氣()