Breaking News
Home / iOS / iOS FAQ (page 4)


What are the different types of Remote Notification that an app can register in IOS?

Answer There are 3 different type of notifications that can app can register for: Badge Sound Alert The following code shows how to register for all three types using the callback method: – (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken{       // Let the device know we want to receive push notifications[[UIApplicationsharedApplication] registerForRemoteNotificationTypes:     (UIRemoteNotificationTypeBadge …

Read More »

How does Apple Push Notification Work?

Answer The Apple Push Notification Service (APNS for short) allows the App Developer/Provider to push a alert(message) to the iPhone device. The following diagram shows the basic components and flow involved in delivering a message via APNS. [pb_builder]

Read More »

What does the macro CCLOG do?

Answer The CCLOG macro wraps Apple’s NSLog method so that CCLOG is only compiled in debug builds, but omitted in release builds. So its recommended to use CCLOG in place of NSLog because using NSLOG in your release build can slow down your published application, but doing this you still …

Read More »

What all environments are provided by Apple for Push Notifications?

   * Sandbox: The sandbox environment is used for initial development and testing of the provider application. It provides the same set of services as the production environment, although with a smaller number of server units. The sandbox environment also acts a virtual device, enabling simulated end-to-end testing. You access …

Read More »