【发布时间】:2013-07-16 03:18:40
【问题描述】:
收到推送通知时,我正在尝试从表格视图中选择一行。
我有 myprojectAppDelegate.h
#import <UIKit/UIKit.h>
#import "iw.h"
#import "Bookmark.h"
@interface myprojectAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> {
UIWindow *window;
UITabBarController *tabBarController;
UINavigationController *navigationController;
NSMutableArray *tableData;
NSMutableArray *imagesList;
IBOutlet Bookmark *tableCell;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
@property(nonatomic, retain) NSMutableArray *tableData;
@property(nonatomic, retain) NSMutableArray *imagesList;
- (BOOL)getIsLaunched;
- (void)showService;
- (void)showMessage;
- (void) loadLogoList;
+ (const NSString*)getVersion;
+ (const NSString*)getXMLversionURL;
+ (NSMutableDictionary *)logos;
+ (void)setLogos:(NSMutableDictionary *)newDictionary;
- (void)checkVersion;
@end
并在 myprojectAppDelegate.m 文件中实现 didReceiveRemoteNotification 但是当应用程序在启动选项后启动时,tableview 是在另一个类 bookmarklist.m 中实现的,它会导航到 bookmarklist.m 并显示 table view。
我想访问位于bookmarklist.m 中的表格视图,并在收到推送通知时选择表格中的一行。
请帮我解决这个问题。我是 ios 编程新手。
谢谢。
【问题讨论】: