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

  • SEARCH
  • Home
  • 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 7687027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:36:36+00:00 2026-05-31T19:36:36+00:00

I made a mistake when I created one of my UIViewController objects. When I

  • 0

I made a mistake when I created one of my UIViewController objects. When I created the files, I forgot to select the Target for iPad option.

'Targeted for iPad' not selected

I never considered this to be much of an issue, because I always change my initial view within the generated Nib file to not display a statusbar, and to be freeform in sizing.

However, I’ve recently ran into a problem. The UIViewController that I created that wasn’t Targeted for iPad has a toolbar on it. This means that the default style is a bluish color. The problem is that all of my other views were created for the iPad and the default iPad style is a greyish tone, instead of the bluish tint color that is associated with iPhone/iPod devices.

I need my application to remain consistent and I’d rather not start from scratch, re-making my Nib file, and re-wiring it to my ViewController.h file.

How can I fix my Nib and View Controller so that it behaves as if it is Targeted for iPad, even though I’ve mistakenly not specified it as such?

  • 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-05-31T19:36:38+00:00Added an answer on May 31, 2026 at 7:36 pm

    Try this at your own risk:

    First, back-up your original Xib file. Next, modify the second line from:

    <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">

    to

    <archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">

    Next, open the source code of the xib, and in every ocurrence of the element:

    <string key="IBDocument.TargetRuntimeIdentifier">
    

    Replace the value IBCocoaTouchFramework with IBIPadFramework.

    Good luck!

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

Sidebar

Related Questions

We made the mistake of allowing .csproj.user files to be checked in to TFS
I made a mistake when I rebase to a recent commit. ( I forgot
-edit- nevermind, i made a mistake in my select statement. Update was working correctly.
I made a little mistake in one of my projects. I wrongly set JPA
I created a bundle with name applausible.bundle, i placed the bundle in supporting files.This
ANSWER: Allright, that was quite simple (probably I made this mistake coz I need
Please help me finding where I have made mistake? delimiter // CREATE FUNCTION `count_photos_in_gallery`(`tmp_gallery_id`
I made the mistake of modifying my original source after importing it into subversion.
I made the mistake of downloading the latest Silverlight runtime so that I could
EDIT: I had made a mistake during the debugging session that lead me to

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.