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 3721396
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:32:30+00:00 2026-05-19T05:32:30+00:00

I’m working on making an iPhone version of an Android app that I’ve written

  • 0

I’m working on making an iPhone version of an Android app that I’ve written (so please bear with me). The application has a main view that basically displays a web view and some other controls that control the webview. I already have this part of the application working atop a UIWindow.

The other part of the application is a ‘profile’ page that lets the user enter some profile information into a form. Due to the sheer number of options, I put together thing interface in a separate XIB using a UITabBarController to hold everything together. I already have a delegate class for this part of the application so that I can operate on the form fields in the view(s).

When the app starts, it’s supposed to display the ‘profile’ view to the user on first run and then later display the profile view when the user selects ‘profile’ in he app.

The problem I’m running into is that I cannot seem to find a good example (or have a good understanding of) how to cause the app to load the view and it’s delegate. If this were under Android, I would subclass Activity and have it load the appropriate interface file.

Thus far I have a view controller:

@implementation customizeViewController  
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {  
        if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {  
            // Custom initialization  
        }  
        return self;  
    }  
    - (void)dealloc {  
        [super dealloc];  
    }  
@end

And inside the application delegate header I have this setup for holding my ‘profile’ view:

UIView *CustomizeWindow;

Within didFinishLaunchingWithOptions I have the following:

CustomizeWindow = [[customizeViewController alloc] initWithNibName:@"CustomizeWindow" bundle:[NSBundle mainBundle]];  
[window makeKeyAndVisible];

…where CustomizeWindow is the filename of the ‘profile’ view’s file.

I have tried a few different ways of displaying this, such as adding it as a sub view to the window and presentModalViewController with no success. I suspect there is a piece to this puzzle that I’m missing, so any help would be appreciated.

  • 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-19T05:32:31+00:00Added an answer on May 19, 2026 at 5:32 am

    From everything I could read, there is no way to really do this. The solution was to throw everything out and make it simpler. In this case, a custom view controller using a UIScrollView to contain the other views and then load the other xib files programmatically.

    Soemthing like:

    NSArray *pages = [[NSBundle mainBundle] loadNibNamed:@"CustomizePage1" owner:self options:nil];
    UIView *page1 = [pages objectAtIndex:0];
    [page1 setBounds:CGRectMake(0, -20, page1.frame.size.width, page1.frame.size.height)];
    [self.scroller addSubview:page1];

    And do the above for every xib you want to load into the scroll view.

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

Sidebar

Related Questions

No related questions found

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.