Comments on: UIButton in UITableView Footer http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/ A weblog by Blackwhale about design, code and random stuff we care about. Wed, 01 Sep 2010 23:50:21 +0000 hourly 1 http://wordpress.org/?v=3.0.1 By: prateekhttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-1167 prateek Thu, 08 Jul 2010 10:00:21 +0000 http://blog.blackwhale.at/?p=104#comment-1167 hi button don't pressed when shown in simulator. plz help hi
button don't pressed when shown in simulator. plz help

]]>
By: dhviddinghttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-1154 dhvidding Sat, 03 Jul 2010 01:21:15 +0000 http://blog.blackwhale.at/?p=104#comment-1154 Thanks so much... That was very helpful. Thanks so much… That was very helpful.

]]>
By: emiliehttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-1131 emilie Tue, 22 Jun 2010 07:21:10 +0000 http://blog.blackwhale.at/?p=104#comment-1131 Hi thanks for this tutorial. However, I have a problem. My button appears, on perfect place. But, when I click on, I can't access to -(void) acquit_clicked:(id)sender; I wrote - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section { ... [redButton addTarget:self action:@selector(acquit_clicked:) forControlEvents:UIControlEventTouchUpInside]; ...} and acquit_clicked method looks like : -(void) acquit_clicked:(id)sender{ NSLog(@"ça passe dans la méthode pour acquitter l'alarme"); } But nothing is printed in the console. Can't understand... Does anybody encounter the same issue ?Thanks Emilie Hi thanks for this tutorial.
However, I have a problem. My button appears, on perfect place. But, when I click on, I can't access to -(void) acquit_clicked:(id)sender;
I wrote – (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {

[redButton addTarget:self action:@selector(acquit_clicked:) forControlEvents:UIControlEventTouchUpInside];
…} and acquit_clicked method looks like :
-(void) acquit_clicked:(id)sender{
NSLog(@"ça passe dans la méthode pour acquitter l'alarme");
}
But nothing is printed in the console.
Can't understand…
Does anybody encounter the same issue ?Thanks
Emilie

]]>
By: anka_http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-1113 anka_ Tue, 15 Jun 2010 18:32:13 +0000 http://blog.blackwhale.at/?p=104#comment-1113 Hi David, yes that's true, because it is the footer of a section and if your table view is scrollable it will hide if you scroll down. So the only way you can avoid this is to set scrollEnabled=NO of your table view or you have to place your button separately on a additional view in front of your table view. Cheers, Andreas Hi David,

yes that's true, because it is the footer of a section and if your table view is scrollable it will hide if you scroll down. So the only way you can avoid this is to set scrollEnabled=NO of your table view or you have to place your button separately on a additional view in front of your table view.

Cheers,
Andreas

]]>
By: David Schieferhttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-1031 David Schiefer Mon, 24 May 2010 18:09:47 +0000 http://blog.blackwhale.at/?p=104#comment-1031 The Button does appear, it hides whenever i scroll down to the bottom of the UITableView though :/ The Button does appear, it hides whenever i scroll down to the bottom of the UITableView though :/

]]>
By: Robbohttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-397 Robbo Sat, 17 Apr 2010 20:03:04 +0000 http://blog.blackwhale.at/?p=104#comment-397 I get the same issue - the button is totally square. Tried playing with the values but to no avail. has anybody fould a solution to this? The code looks fine to me. I get the same issue – the button is totally square. Tried playing with the values but to no avail. has anybody fould a solution to this? The code looks fine to me.

]]>
By: Add UIButton in UITableView Footer | WithExamplehttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-354 Add UIButton in UITableView Footer | WithExample Fri, 19 Mar 2010 03:56:10 +0000 http://blog.blackwhale.at/?p=104#comment-354 [...] Add UIButton in UITableView Footer February 1, 2010 | Posted by admin http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/ [...] [...] Add UIButton in UITableView Footer February 1, 2010 | Posted by admin http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/ [...]

]]>
By: victohttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-348 victo Tue, 02 Mar 2010 14:13:19 +0000 http://blog.blackwhale.at/?p=104#comment-348 nice tutor dude, however addsubview will increase the retain count by 1, so you should release the added view nice tutor dude,
however addsubview will increase the retain count by 1, so you should release the added view

]]>
By: Philippe Guitardhttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-329 Philippe Guitard Sat, 16 Jan 2010 01:40:43 +0000 http://blog.blackwhale.at/?p=104#comment-329 You probably forgot to implement heightForFooterInSection in your class. Simply set the footerView background color to see where the footer view really is... You probably forgot to implement heightForFooterInSection in your class. Simply set the footerView background color to see where the footer view really is…

]]>
By: Stevehttp://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/comment-page-1/#comment-328 Steve Thu, 14 Jan 2010 11:48:02 +0000 http://blog.blackwhale.at/?p=104#comment-328 Hi Thanks for the tutorial Its kind of working but my rounded rect button is showing square, any thoughts? Hi
Thanks for the tutorial

Its kind of working but my rounded rect button is showing square, any thoughts?

]]>