Add swipe gesture to your bottom view as shown below.
UISwipeGestureRecognizer *ges =[[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(swipe:)];
[bottomView addGestureRecognizer:ges];
-- swipe handler --
-(void)swipe:(UISwipeGestureRecognizer *)swipeGes{
if(swipeGes.direction == UISwipeGestureRecognizerDirectionUp){
[UIView animateWithDuration:.5 animations:^{
//set frame of bottom view to top of screen (show 100%)
bottomView.frame =CGRectMake(0, 0, 320, bottomView.frame.size.height);
}];
}
else if (swipeGes.direction == UISwipeGestureRecognizerDirectionDown){
[UIView animateWithDuration:.5 animations:^{
//set frame of bottom view to bottom of screen (show 60%)
bottomView.frame =CGRectMake(0, 300, 320, bottomView.frame.size.height);
}];
}
}