summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-08-12 16:03:02 +0800
committerSiqi LIU <me@siqi.fr>2013-08-13 00:11:57 +0800
commite0e276ab255fb75c0412436baa0974836278b9db (patch)
treece71f42cda88ed77e4951020df64eaa826fb03df /ios
parentb69593f5d156b4ba65350fd810f67a4571e84c7c (diff)
cellForRowAtIndexPath instead of cellForItemAtIndexPath for iOS5 support
Change-Id: Ia37a77ffb516b0ee29c923c3a0d9bffea94b778b
Diffstat (limited to 'ios')
-rw-r--r--ios/iosremote/iosremote/newServer_vc.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/iosremote/iosremote/newServer_vc.m b/ios/iosremote/iosremote/newServer_vc.m
index 6c534a475378..f6ae5008fff5 100644
--- a/ios/iosremote/iosremote/newServer_vc.m
+++ b/ios/iosremote/iosremote/newServer_vc.m
@@ -106,7 +106,7 @@
- (void)viewDidAppear:(BOOL)animated
{
EditableTableViewCell *cell = (EditableTableViewCell *)[[self tableView]
- cellForRowAtIndexPath:[NSIndexPath indexPathForItem:0 inSection:0]];
+ cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
[[cell textField] becomeFirstResponder];
}