[Objective-C] ios View 向上拉界面代码 →→→→→进入此内容的聊天室

来自 , 2019-06-24, 写在 Objective-C, 查看 107 次.
URL http://www.code666.cn/view/9afbe998
  1. #pragma mark - 上升效果
  2. - (void)ToUpSide {
  3.      
  4.     [self moveToUpSide];//向上拉界面
  5.      
  6. }
  7.  
  8. - (void)moveToUpSide {
  9.     [UIView animateWithDuration:0.7 //速度0.7秒
  10.                      animations:^{//修改rView坐标
  11.                          rView.frame = CGRectMake(self.window.frame.origin.x,
  12.                                                   -self.window.frame.size.height,
  13.                                                   self.window.frame.size.width,
  14.                                                   self.window.frame.size.height);
  15.                      }
  16.                      completion:^(BOOL finished){
  17.                      }];
  18.      
  19. }
  20. //objectc/5843

回复 "ios View 向上拉界面代码"

这儿你可以回复上面这条便签

captcha