Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  2.  
  3. {
  4. UITableViewCell *outCell =(UITableCellView*) [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
  5. if (indexPath.row == 0)
  6. {
  7. [outCell becomeFirstResponder];
  8. }
  9. }
  10.  
  11. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  12. {
  13. UITableViewCell *outCell =(UITableCellView*) [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
  14.  
  15. if (indexPath.row == 0)
  16. {
  17. UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, outCell);
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement