UILocalNotification
2 つの整数変数を使用できるようにカスタマイズするにはどうすればよいですか。をクラスに継承しようとしましUILocalNotificaion
たが、追加した 2 つの整数のいずれかにアクセスするとクラッシュします。
@interface AHNotification : UILocalNotification {
@public
int AllIndex;
int Index;
}
@property int AllIndex;
@property int Index;
@end
@implementation AHNotification
@synthesize AllIndex,Index;
-(AHNotification*) init{
[super init];
return self;
}
@end