UITableView Scrolling

Discussion in 'iOS Programming' started by anemergencystop, Oct 22, 2008.

  1. anemergencystop macrumors newbie

    Oct 22, 2008
    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?

  2. anemergencystop thread starter macrumors newbie

    Oct 22, 2008
    Solution was to set "allowsUserInteraction" to "NO".
  3. nacho4d macrumors newbie

    Jul 13, 2008
    2 suggestions

    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


    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.



Share This Page