Sathish
Sathish

Reputation: 416

UIScrollView not working with any components in xcode 4.5 ios 6.0

I have tried with UIScrollView contains UITextfield and other components. It's been worked without contains any compenents(UITextfield) but it's not working even I simply place any components on it.

I just tried with this code and mapped scrollview property with UIScrollview UI component.

Can anybody help me to get off from this issue.

- (void)viewDidAppear
{
.....
[scrollView setScrollEnabled:YES];
[scrollView setContentSize: CGSizeMake(320, 830)];
....
}

Upvotes: 1

Views: 744

Answers (1)

Edmond Chui
Edmond Chui

Reputation: 659

In addition to uncheck Use Autolayout, I also need to change the size under simulated metrics from Retina 4 Full Screen to None to make it work.

Upvotes: 1

Related Questions