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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:07:23+00:00 2026-05-22T03:07:23+00:00

UIView not shown on my window based template? I am creating an app for

  • 0

UIView not shown on my window based template?
I am creating an app for this a was use the window based template and a view controller and for checking drop label but after execution it appears like clean white window.

in delegate header file i do this

#import "First_View.h"
@class First_View;
@property (nonatomic, retain) First_View *viewcontroller;

And in delegate.m 
@synthesize viewcontroller=_viewcontroller;
//in implementation 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.
    self.window.rootViewController = self.viewcontroller; /*/**main line code here**/*/    
    [self.window makeKeyAndVisible];
    return YES;
}
  • 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-22T03:07:24+00:00Added an answer on May 22, 2026 at 3:07 am

    You can add the ViewController View to the window like that:

    [self.window addSubView:self.viewcontroller.view];
    

    And the view Controller should have an outlet if you are creating it using Interface Builder and don’t forget to connect it:

    @property (nonatomic, retain) IBOutlet First_View *viewcontroller;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is in regards to UIView's -drawRect function. The Set-Up: My app consists
It's not clear, to me anyway, if a UIView is automatically released from its
I want to flip an imageView (left/right), but I can not find a UIView
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if(section != 0) { UIView *view = [[[UIView
When creating a UIView with a navigation bar in interface builder, the top bar
How can I accomplish the following: When my app loads a UIView will show
I've got a protocol: @protocol Gadget <NSObject> @property (readonly) UIView *view; - (void) attachViewToParent:(UIView
I have a custom view that subclasses UIView. It has a touchesEnded event, however
This is about an iPhone App using MKMapKit: I created a custom MKAnnotationView for
This is about an iPhone App using MKMapKit: I created a custom MKAnnotationView for

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.