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 Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 01-10-2011, 09:33 AM   #1 (permalink)
don't panic***don't panic
 
Join Date: Sep 2010
Posts: 3
ohadregev is on a distinguished road
Red face Buttons Location on View

Hi,

I've created a simple application based on 2 views:
1st view: holds buttons. once clicked on one of the buttons it opens the second view.
2nd view: holds a photo. once clicking anywhere it gets back to the first view.

the buttons location is set in Interface Builder and the images displayed in them is set via code from the bundle.

The problem:
When the app is loaded the buttons are aligned to the view top (even though in Interface Builder they are not aligned to the top). Once one of the button is clicked and we are in the second view and then get back to the first view, the buttons alignment is OK (like I had set them in IB).
Nowhere in the code I do anything that relates to the buttons location.

How do I make them be aligned as I originally set them all the time?
ohadregev is offline   Reply With Quote
Reply

Bookmarks

Tags
alignment, button, location, view

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: 404
11 members and 393 guests
AppleDev, chemistry, Emy, Gi-lo, ipodphone, mistergreen2011, pipposanta, QuantumDoja, Retouchable, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,924
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

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