When keyboard appears, i resize my scrollview, but the content inside sticks to the top. I want to change behaviour so that it would stick to the bottom, so it should scroll up. (I am writing a chat client, so the content should be always scrolled to the bottom) I tried changing Autoresizing mask for the content of the scrollview:
[myImage setAutoresizingMask:UIViewAutoresizingFlexibleTopMargin];
Now i get what i want, but when i try to slide it with the finger i see that the origin is incorrect and incorrect part of the content is scrollable.