Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-27-2011, 12:26 AM   #1 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 58
Terry2124 is on a distinguished road
Default UIScrollView Moves Position IB > Simulator

I have implemented a UIScrollView, I position it in IB and when I build and run in simulator the UIScrollView moves up.

I am using a TabBarController if that helps.


The code and logic works fine, I have 5 Labels in the UIScrollView and it does scroll just fine in simulator but the whole UIScrollView window moves up.

Any thoughts?
Terry2124 is offline   Reply With Quote
Old 05-27-2011, 12:42 AM   #2 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 3
marina edward is on a distinguished road
Default

hmmmm
marina edward is offline   Reply With Quote
Old 05-27-2011, 09:05 AM   #3 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 58
Terry2124 is on a distinguished road
Default

Quote:
Originally Posted by marina edward View Post
hmmmm


Nothing better to do with your life?
Terry2124 is offline   Reply With Quote
Old 05-27-2011, 09:24 AM   #4 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

i don't understand the problem, and however post the code....
__________________
dany_dev is offline   Reply With Quote
Old 05-27-2011, 10:25 AM   #5 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 58
Terry2124 is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
i don't understand the problem, and however post the code....

In IB, I add the layout of the scroll view, labels and buttons. I position the scroll view where I want it.

When I run simulator the entire scroll view window moves upwards.



the XIB that contains the UIScrollView fits in a tab bar window, maybe the tab bar in the simulator pushes it up.


Not a code issue, the code works fine.

I have my outlets and connections, synthesize and release.

below is the only other code for the UIScrollView
Code:
ScrollView.contentSize=CGSizeMake(600, 0);



Again, when I place the scroll view window in IB, i run simulator and the scroll view window appears in a different spot.
Terry2124 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 342
6 members and 336 guests
doffing81, dre, iOS.Lover, jenniead38, Kirkout, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0