You might seen the delete button on a table view when you swipe from right to left or viceversa. Lets try doing that here on a UIView. It can be done as below. Manipulate the layer and use CATransitions : [sourcecode language=”objc”] UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button setFrame:CGRectMake(10, 300, 1, 45)]; [button setTitle:@"helloSir" forState:UIControlStateNormal]; [self.view