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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:47:32+00:00 2026-05-24T06:47:32+00:00

already i am declared navigation object like this UINavigationController *naviButtonpro; @property (nonatomic, retain) IBOutlet

  • 0

already i am declared navigation object like this

UINavigationController *naviButtonpro;

@property (nonatomic, retain) IBOutlet UINavigationController *naviButtonpro;

and also declared @synthesize naviButtonpro;

self.naviButtonpro = [[UINavigationController alloc] initWithNibName:@"NaviButtonViewController" bundle:nil];
[self.window addSubview:self.naviButtonpro.view];

when i am using this method

-(IBAction)displayNextPage:(id)sender
{
    dispNext *gotoback = [[dispNext alloc] initWithNibName:@"dispNextView" bundle:[NSBundle mainBundle]];
    //UINavigationController *naviButtonpro = [[UINavigationController alloc] initWithNibName:@"NaviButtonViewController" bundle:nil];
    [self.naviButtonpro pushViewController:gotoback animated:YES];
    [gotoback release];
}

i am geting an error like this
Request for member ‘naviButtonpro’ in something not a structure or union

can u tell me the how to resolve this problem

  • 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-24T06:47:33+00:00Added an answer on May 24, 2026 at 6:47 am

    2 things to note here.

    Firstly, you aren’t creating a UINavigationController. You need to alloc init it. You seem to have it in the code but its commented out.

    Secondly, dispNext needs to subclass & inherit from UIViewController. Does it do this?

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

Sidebar

Related Questions

I have socket already declared socket like this: serverAddr = InetAddress.getByName(this.ip); socket = new
I would like to overwrite a couple of functions that are already declared in
We have constants declared in an interface in our application like this. public interface
This should be an easy one. I have a variable that I've already declared
I already know how to: Load properties files into my Spring configuration using: <context:property-placeholder
I already know the obvious answer to this question: just download <insert favorite windows
We already have things like static analysis that tells us what's wrong with our
I already asked this question at the JOS-.NET board but Joel is closing that
I have the following declared on a Singleton type object named CicApplication: internal static
I feel like this is a rather simple question, but I can't seem 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.