Documentation for scrollToRowAtIndexPath: for empty sections
| Originator: | amorya | ||
| Number: | rdar://13473761 | Date Originated: | 21-Mar-2013 05:10 PM |
| Status: | Open | Resolved: | |
| Product: | Documentation | Product Version: | n/a |
| Classification: | Enhancement | Reproducible: | Not Applicable |
To scroll to an empty section in a UITableView, one can use the following index path in conjunction with the -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] method: [NSIndexPath indexPathForRow:NSNotFound inSection:section] However, this is not reflected in the documentation for the above method. I suggest adding something to the documentation for -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] that states that NSNotFound is a valid row index. This is related to radar 6263339.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!