//用于弹出、隐藏view的动画效果
[UIView animateWithDuration:0.1 delay:0.0 options:0 animations:^{
//开始弹出位置
} completion:^(BOOL finished) {
[UIView animateWithDuration:0.1 delay:0.0 options:UIViewAnimationCurveEaseIn animations:^{
//结束位置
}completion:^(BOOL finished) {
}]; }];