One way of doing this without dealing with objective-c is to set the inputs styling to scroll up with the keyboard in css. Although its kinda a hacky solution here is what I used to style the input to scroll up with the keyboard:
input{
position:absolute;
bottom:-16px;
width: 100%;
left:0;
height: 5%;
padding:0;
margin:0;
}
Since the bottom of the window changes when the keyboard comes up the inputs position will also change with it. You can obviously add to this to make it more fancy, but hopefully you get the idea.