Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

scrolling view is clipping

i am new to objective C, working on a project, there is one class called allDealsViewContainer, in this i have taken a ScrollView, and in this scrollView, i am adding another ViewController as a subview in pagingMode, called as "AllDealsViewController". i cant load all the pages at a time using:
for(int i=0; i< allDeals.count; i++)
// load pages

as on doing this my application get crashed, so I'm adding 2 or 3 pages at a time when i start dragging scrollView, so i have written below code in scrollViewDidScrollDelegate method:

[self loadPage:page];
[self loadPage:page + 1];

but the problem is that when come back to my AllDealsViewController, from any other viewController, and start dragging scrollView to the left then some part of pages are clipping, please if you have solution of this prblm, then help m.

i have tried this code too,
scrollView.clipsToBounds = NO;

bt it ws nt helpful..
Sign In or Register to comment.