Can someone explain to me what the contentInset property in a UIScrollView instance is used for? And maybe provide an example?
thanks,
fbr
Can someone explain to me what the contentInset property in a UIScrollView instance is used for? And maybe provide an example?
thanks,
fbr
It sets the distance between the content view and the enclosing scroll view.
aScrollView.contentInset = UIEdgeInsetsMake(0, 0, 0, 7.0);
edit: er, distance of the inset, to be clear.