0
UrbanAirshipを使用してPushNotificationで作業しています。その中で私は通知を受けていますが、私にとってはページ番号が表示されていません。私がインポートされているUAPush共有がiosのUrbanAirshipで識別されない
「「『共有セレクタのための知られていないクラスメソッド」のようなエラーを取得している』共有「[UAPushが共有]」」で
[[UAPush shared] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeSound |
UIRemoteNotificationTypeAlert)];
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
UALOG(@"APN device token: %@", deviceToken);
// Updates the device token and registers the token with UA
[[UAPush shared] registerDeviceToken:deviceToken];
}
しかし、私のために次のコードを試してみましたクラス
#import "UAirship.h"
#import "UAPush.h"
多くのエラーが発生していますが、
私はこれで何をしたのか誰にでも助けてくれますか? ありがとうございます。