iphone - UIScrollView problems -
I am creating a 30-35 page comic book and in my travel, I am killing roadblock only after bus roadblock.
1) I know that I have to create 30-35 different UIScrollviews with pictures inside. The problem is that autoretation automatically closes the half image from the screen
2) I do not know where this code keeps the code:
UIScrollView * containerView = [[UIScrollView alloc] initWithFrame: [UIScreen main screen] .applicationframe]; Containerview Background Corollar = [UIColor Black Color]; Containerviewcrolled = yes; Containerview enabled posing = yes; Container view Bounce = no; Container visualdirectory locked = yes; Self.view = containerView; 3) I am thinking of paying a developer to make this basic foundation and then he explained what he has done so that I will add future images to that foundation. Can I go anywhere, from a person to a phone or from a person can ask for this project to work for coding. The time limit is coming soon and I'm completely removed from the whole thing ...
thanks
Hey, it seems that you are stressing about it, but I honestly went through these many hoops. See this awesome Apple sample: This can help you a lot.
A quick note about scrollview: I do not quite know what you mean by 30-35 UIScrollViews. It should not be needed In my app we have a UIViewController that has 1 UIScrollView. Then we add those pictures and things work up the sample above should clear things [ImageScrollView addSubview: imageView]; The scroll view makes it easy to add images.
If you set up your visual structure in IB, then things should work very smoothly.
An autorotation about the half-pageization problem, it's a bug that I ran away and I spent so much time fixing it. I still do not know why this happens, but the solution is to create a layer of properties within your UIViewController, which indicates where the scrollview is at one time. Then you have to see where you expect it and adjust when it is not equal. As always, keep a full layer to do this, do not fix it in one place.
If it is more important then I would be happy to post.
Comments
Post a Comment