Objective c 如何在iPhone的tableview中的特定行显示传入通知APNS消息?

Objective c 如何在iPhone的tableview中的特定行显示传入通知APNS消息?,objective-c,arrays,uitableview,apple-push-notifications,Objective C,Arrays,Uitableview,Apple Push Notifications,如何将来自APNS的通知文本获取到我的UITableView? 我在objective-c中使用.xib。我希望从APNS通知发送到UITableView的文本 我想在这里使用数组 如果可能的话,我需要演示代码。尝试在tableview的特定位置插入文本 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; [self.tableview insertRowsAtIndexPaths:[NSArray

如何将来自APNS的通知文本获取到我的UITableView? 我在objective-c中使用.xib。我希望从APNS通知发送到UITableView的文本

我想在这里使用数组


如果可能的话,我需要演示代码。

尝试在tableview的特定位置插入文本

  NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
   [self.tableview insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];