Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8678169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:38:46+00:00 2026-06-12T20:38:46+00:00

Hello i am using Urban AirShip Rich Push Notification for IOS in cocos2d. I

  • 0

Hello i am using Urban AirShip Rich Push Notification for IOS in cocos2d. I am getting the inbox for the Rich Notification but i am getting it in potrait mode. I want to get the inbox in the landscape mode.

Here is the code i am using

  [UAInbox useCustomUI:[UAInboxUI class]];//sample UI implementation
    [UAInbox shared].pushHandler.delegate = [UAInboxUI shared];

   // If the application gets an UAInbox message id on launch open it up immediately.
    // Only works for the default inbox
    [UAInboxUI shared].inboxParentController=window_.rootViewController;
    [UAInboxPushHandler handleLaunchOptions:launchOptions];

     if ([[UAInbox shared].pushHandler hasLaunchMessage]) {
        [[[UAInbox shared] uiClass] loadLaunchMessage];
    }

    // Create the main window
    window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

    [UAInbox displayInbox:window_.rootViewController animated:YES];

Any help would be greatly appreciated. Thanks in Advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:38:47+00:00Added an answer on June 12, 2026 at 8:38 pm

    Ok Solved this problem by myself. Urban Airship already has build up capability to show in landscape mode.

    Always write methods to display UAInbox in the AppDelegate.mm(in my case i needed to show the inbox in the boot up) in the viewdidfinishwithlaunchingoptions

    Also if you want to add UrbanAirship inbox on button click(from a cocos2d scene) then for it to display properly always add it to the rootViewController of your cocos2d game in my case in window_.rootViewController instead of showing UrbanAirship in the scene by adding it to uiviewcontroller and showing the uiviewcontroller to the cocos2d scene using the [[CCDirector SharedDirector]view]addsubview:uiviewcontroller].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello i'm using map() jquery to create a new object array DEMO but this
Hello i am using the latest version of artoolkit, and succesfully compiled simplevrml, but
hello i'm using this example http://lexandera.com/2009/01/extracting-html-from-a-webview/ to get the HTML from a webview. But
Hello i am using PDO 1st time and getting error ... dont no where
Hello I am using facebook graph api..and trying to display comments of each post..But
Hello guys Im using advance notification manager this is the code Notification note =
Example: www.site.com/index.php#hello Using jQuery, I want to put the value hello in a variable:
Hello I am using Telerik Rad Controls for the DataGrid view... I want to
Hello I'm using Visual Basic 2010, I have a datagridview and I want a
Hello I am using a tab bar application. I want to reload a view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.