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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 03-05-2010, 06:39 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default Using UITextFields in a subview on a UIScrollView

I apologize if this has been answered before; I am new and did a search and didn't quite see this problem in the archives.

I have a TabBarController calling various views via TabBarItems - each in it's own nib. Inside one of the "views" I want to have a form where the user enters items in UITextFields but I can't fit it all in one screen so I've got a UIScrollView. I have subviewed onto that UIScrollView a view which is 320 wide and about 700 pixels long. I got it all scrolling nicely, however, when I touch anything outside the initial screenful at the top, it's as if the touch commands do not activate any of the controls on the subviewed view that is being scrolled about, rendering that bottom portion useless.

I read about tiling, but it seems that tiling isn't required but an option to save on resources. My scrolled view isn't even 2 screens tall so I don't see that as a problem, but how can I "activate" those controls on the lower portion when I scroll down there to use the entire form?
Eric 54 is offline   Reply With Quote
Old 03-05-2010, 11:12 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default

Just solved my own problem. I created a new view in IB and moved all the content of the old view but did not place it on top of the UIScrollView in IB. I programmatically added this view as a subview in viewDidLoad and now all of my elements are "touchable".
Eric 54 is offline   Reply With Quote
Reply

Bookmarks

Tags
uiscrollview

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: 254
23 members and 231 guests
ADY, bookesp, chillyh, ckgni, dacapo, Dani77, Davey555, Desert Diva, glenn_sayers, HemiMG, JasonR, LEARN2MAKE, M.A.S., marshusensei, mer10, nobre84, prchn4christ, Raggou, Rudy, ryantcb, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,765
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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