I use uiscrollview and when I click button in scrollview I add text in textView and then button outside view so... when button outside view I scroll down and can't click the button. My code:
change scrollView height:
scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 1000);