Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8209549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:45:44+00:00 2026-06-07T09:45:44+00:00

SCENARIO (iOS 5) I currently have a UITableView. It has 30 table rows The

  • 0

SCENARIO (iOS 5)
I currently have a UITableView.
It has 30 table rows
The user decides to click on row 5
A ViewController is pushed.
Within this ViewController the user has navigated forward 10 items.
When they navigate back to the UITableView they are at row 5 highlighted

What I would like
I want the UITableView to show table row 15 highlighted and in view, because they have moved 10 rows ahead within the ViewController.

What I found
I thought I would be able to modify the NSIndexPath row property to 15 when I navigate back. But documentaiton states it’s read-only.

row  
An index number identifying a row in a section of a table view. (read-only)  

@property(readonly) NSInteger row  

Discussion
The section the row is in is identified by the value of section.

Any feedback on how I can get around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:45:46+00:00Added an answer on June 7, 2026 at 9:45 am

    If you just want to change the selection, use this UITableView method:

    - (void)
    selectRowAtIndexPath:(NSIndexPath*)indexPath
    animated:(BOOL)animated
    scrollPosition:(UITableViewScrollPosition)scrollPosition;
    

    You don’t need to modify a particular index path to call that API, just create a new one; for example:

    NSIndexPath* indexPath = [NSIndexPath indexPathForRow:row inSection:section];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I faced this scenario when I was testing push notifications on iOS. when user
Suppose you have an iOS app with a UINavigationController with three UIViewControllers pushed onto
Scenario. I have a library shelf, library, user, application tables in the database. One
Scenario: old legacy code in rpg have to consume data from a new web
Scenario: I have a console application that needs to access a network share with
Scenario 1: I have one wrapper Perl script which uses another Perl module and
Scenario: Say I am on an invoice details page. I have a customer name
Using iOS and a UISearchBar you can have a nice little cancel button setup
I'm developing a first iPhone app for iOS 4.x/5.0 and have some confusions on
I am using CoreData in iOS. I have a modal AddViewController, with a RootViewController

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.