Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

anemergencystop

macrumors newbie
Original poster
Oct 22, 2008
2
0
Hello everyone,

I'm having a weird problem where I can't scroll a UITableView if I press on a UITableViewCell that is inside it. If I press the "empty" parts of the table view, everything scrolls fine. Any ideas as to what might cause this behavior?

Thanks!
 

nacho4d

macrumors newbie
Jul 13, 2008
23
0
2 suggestions

Hello everyone,

I'm having a weird problem where I can't scroll a UITableView if I press on a UITableViewCell that is inside it. If I press the "empty" parts of the table view, everything scrolls fine. Any ideas as to what might cause this behavior?

Thanks!

1- Try "Clean All" button on Xcode before compiling you app.
(It happens to me sometimes that my app behaves weird when after compiling too many times the same app)
1- Any cell behavior should be debug by looking at

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

method.

try replacing your code by apple's sample code (just inside the obove method) and if you can scroll then something wrong is in your code.

Cheers.

Ignacio
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.