| commit | e0e276ab255fb75c0412436baa0974836278b9db | [log] |
|---|---|---|
| author | Siqi LIU <me@siqi.fr> | Mon Aug 12 16:03:02 2013 +0800 |
| committer | Siqi LIU <me@siqi.fr> | Tue Aug 13 00:11:57 2013 +0800 |
| tree | ce71f42cda88ed77e4951020df64eaa826fb03df | |
| parent | b69593f5d156b4ba65350fd810f67a4571e84c7c [diff] |
cellForRowAtIndexPath instead of cellForItemAtIndexPath for iOS5 support Change-Id: Ia37a77ffb516b0ee29c923c3a0d9bffea94b778b
diff --git a/ios/iosremote/iosremote/newServer_vc.m b/ios/iosremote/iosremote/newServer_vc.m index 6c534a4..f6ae500 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]; }