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

View Single Post
Old 02-10-2010, 05:36 PM   #3 (permalink)
qwertyp
Registered Member
 
Join Date: Jan 2010
Posts: 88
Default Change firstResponders mid program

A new development. I have found that if I take out the code that makes the main view firstResponder(see below), the UITextView works fine on the flipside, keyboard and all. So now I think I have to make it so that the flipside view gets set to be firstResponder when it loads. I have put the below code in its view controller, but that doesn't work. Can someone help?

Code:
- (void)viewDidAppear:(BOOL)animated{
	[super viewDidAppear:animated];
	[self becomeFirstResponder];
}

-(BOOL)canBecomeFirstResponder {
    return YES;
}
qwertyp is offline   Reply With Quote
 

» Advertisements
» Online Users: 276
19 members and 257 guests
ADY, apatsufas, BdR, ckgni, Duncan C, F_Bryant, glenn_sayers, Guthook, ilmman, joeallenpro, ketaskin, michelle, Music Man, NSeven, smethorst, Sunny46, TheWebWizz, zbynda, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,709
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:10 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.