iphone - How show selected row when click on table view? -


I have a button when click on the button, then open the table view with 100 lines I select the user a ny row The check mark appears and when the user clicks again, I want to show that selected row when the view is open. How do you do this? For example, when the user clicks on the button, open the table view and say the 50th line. Now the user clicks the button again, so I want to show the 50th line directly, instead the user goes to the scrolling table view. So tell me how does this happen? Thanks in advance ..

just call

  - (zero) Select RowAtIndexPath: (NSIndexPath *) indexPath Animated: (BOOL) Animated scrollPosition: (UITableViewScrollPosition) scrollPosition   

In your table view.

For example, the following code will select 50th row in the first section:

  UITableView * tableView; [Select Table View RotvandAppath: [NSINXPath IndexPathForRO: 50 in Special: 0] Animated: Yes Scrollposition: UITWeWScrollPassationTep;    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -