views:

24

answers:

0

Hello,

I am a newbie to iphone development. I have one scrollview in which there is a button and several textfields. This button when pressed add a new text field is added below existing text fields. This works fine but after adding two textfields other added textfiels start hidding.

I am increasing content size of scrollview everytime I add new field to scrollView.

height=formScrollView.contentSize.height; height +=64; [formScrollView setContentSize:CGSizeMake(formScrollView.frame.size.width, height)];

but things doesnt seem working can you help me in this.

Thnx in advance