ContentSize back to 0 - uIScrollview What is setting using Ios

0 votes
asked Mar 16, 2016 by garter_to (750 points)
I have UIScrollView, and in viewDidAppear I set contentSize:- (void)viewDidAppear:(BOOL)animated{ CGSize scrollContentSize = CGSizeMake(320, 9200); self.

5 Answers

0 votes
answered May 28, 2016 by Monitoring (1,640 points)
Best answer
I have come up with another possible reason that this occurs. It's a bit alpha, but Setting ContentSize in a UIScrollView containing ... seems to be working on solving this
commented May 29, 2016 by Qvq_4653 (240 points)
How to embed a complex view hierarchy inside a UIScrollView
commented May 29, 2016 by zr_1515_rea (180 points)
Just found this solution
commented May 29, 2016 by division (110 points)
With these two lines it works correctly
0 votes
answered Apr 7, 2016 by guvOnly (580 points)

Went to tools and checked default setting for home page and that is set at www.
Been setting up my HDAnywhere Matrix this week and hit a real problem.

See this page,
0 votes
answered Apr 17, 2016 by Camelia (940 points)
I handled this by the following code but I am not sure if this a good approach
An excellent explanation is found at session
0 votes
answered May 23, 2016 by Tameika248 (200 points)
I just spent a fair amount of time struggling with this same issue
Also interesting to read experience of the following person Creating and Configuring Scroll Views - Apple Developer
commented May 23, 2016 by EhaBatch (620 points)
Don't keep the UIImage in the array
commented May 25, 2016 by rudolf_Are (1,230 points)
Where to Go From Here
+1 vote
answered Jun 2, 2016 by tumbaga6675 (290 points)
Hope this answer will resolve your query. I've put some examples here UIScrollView Tutorial: Getting Started - Ray Wenderlich
commented Jun 4, 2016 by zabik (100 points)
Hope somebody finds useful

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!