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 11-03-2008, 04:21 AM   #6 (permalink)
mladjo
Registered Member
 
Join Date: Oct 2008
Posts: 42
Post

I still haven't managed to make visible change when button is pressed. Here is my code. What is wrong?

Code:
CGRect contentRect = self.tableView.bounds;
		
		CGFloat boundsX = contentRect.origin.x;
		CGRect frame;
        
		frame = CGRectMake(boundsX + 50, 100, 220, 60);
		UIButton *signInButton = [[UIButton alloc] initWithFrame:frame];
		[signInButton setImage:[UIImage imageNamed:@"button_signin.png"] forState:UIControlStateNormal];
		[signInButton addTarget:self action:@selector(LoginAction) forControlEvents:UIControlEventTouchUpInside];
		
               self.tableView.tableFooterView.userInteractionEnabled = YES;
		self.tableView.tableFooterView = signInButton;
mladjo is offline   Reply With Quote
 

» Advertisements
» Online Users: 618
20 members and 598 guests
aijo, alphy, apatsufas, armmzz, brianmethod, chits12345, ckgni, claudia99, Dani77, devangvyas, Domele, drewrico, ghost, JamesCahall, lilianprice, oceanlablight, Oral B, rky, SoulRed12, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,786
Threads: 89,205
Posts: 380,599
Top Poster: BrianSlick (7,129)
Welcome to our newest member, lilianprice
Powered by vBadvanced CMPS v3.1.0

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