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 08-07-2009, 10:20 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 10
trojanvillage is on a distinguished road
Exclamation Reposition UIView with textFields, help!

I'm looking for a way to reposition the view when you move between one textfield to another. Anyone know of a way to do this? I have read through the documentation and I'm having trouble understanding it. Apple suggests using notifications to tell you when the view should be moved but they want you to use a UIScrollView. I would like to use a standard View.

If you have any suggestions, please post below, with method class outline.

Last edited by trojanvillage; 08-07-2009 at 10:29 PM.
trojanvillage is offline   Reply With Quote
Old 08-07-2009, 10:23 PM   #2 (permalink)
Registered Member
 
kelvinkao's Avatar
 
Join Date: Jul 2009
Location: Los Angeles
Posts: 352
kelvinkao is on a distinguished road
Send a message via AIM to kelvinkao
Default

Huh?
kelvinkao is offline   Reply With Quote
Old 08-08-2009, 09:15 AM   #3 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 10
trojanvillage is on a distinguished road
Default correction on my first question

Quote:
Originally Posted by kelvinkao View Post
Huh?
I have 2 textfields on a view. The view moves up when you select the 1st textview, as does the keyboard. When you press Done or touch the view, it moves back down. This all happens correctly.

However, if I was in the process of editing the 1st textField, with the keyboard still up, and pressed the 2nd textField, the view moves up even farther. How do I get the SDk to recognise that I don't want the view to move up the same height as the keyboard, but just move to fit the 2nd textfield position?
trojanvillage is offline   Reply With Quote
Old 08-11-2009, 09:34 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 10
trojanvillage is on a distinguished road
Default

For instance, how do i get the view to move up and down the window based on where I press?
trojanvillage is offline   Reply With Quote
Reply

Bookmarks

Tags
scrollview, scrollview issue, text field, viewdidload

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: 312
12 members and 300 guests
chiataytuday, coolman, givensur, glenn_sayers, guusleijsten, jbro, mediaspree, mottdog, mtl_tech_guy, Punkjumper, vilisei, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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