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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:22:58+00:00 2026-06-03T15:22:58+00:00

hello I’m just trying to make a simple uipopover from a rectbutton. in previous

  • 0

hello I’m just trying to make a simple uipopover from a rectbutton. in previous Xcode (4.2) i can run this without any issue, but when i try to run this code on Xcode 4.3.2 iPad simulator, its freeze/hang when i pressed the rect button. can anyone help me?
here is my code

in header file :

@interface popViewViewController : UIViewController <UIPopoverControllerDelegate> {


}

-(IBAction)showPop:(id)sender;


@end

implemantation file :

#import "popViewViewController.h"
#import "infoView.h"

@interface popViewViewController ()


@end

@implementation popViewViewController

-(IBAction)showPop:(id)sender {

    infoView *infoview = [[infoView alloc] init];
    UIPopoverController *pop = [[UIPopoverController alloc] initWithContentViewController:infoview];
    [pop setDelegate:self];
    [pop presentPopoverFromRect:[sender bounds] inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUnknown animated:YES];
    [pop setPopoverContentSize:CGSizeMake(300, 200)];


}

here is where the error show :

#import "popViewAppDelegate.h"

int main(int argc, char *argv[])
{
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([popViewAppDelegate class]));
    }
}

“thread 1 : signal SIGABRT”

thanks.

  • 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-03T15:23:00+00:00Added an answer on June 3, 2026 at 3:23 pm

    Clearly the problem is not in the InfoView as I expected. One question, are you using ARC? if so, try to keep the popovercontroller into a strong property. The possible explanation for this is that in ARC the popover will be automatically released when leaving the method. If you are not using ARC I dont have any other clue, sorry.

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

Sidebar

Related Questions

Hello fellow developers... just to make sure, I want to ask this question: How
Hello guys can you please help me with this problem. When a simple image
Hello everyone I am trying to resize an image of 700kb with imagecreatefromjpeg. This
Hello Guys I am trying to figure out why i am gettings this error
Hello can anybody solve this please I'm creating the object in the action class
Hello I was just writing a little Android application which takes an image from
Hello I am trying to pass different urls from my site into a template.
. Hello, I am trying to make a Custom Segue for my storyboard. Now
Hello I am trying to save a bitmap image in a basic image editor
Hello! I'm not even sure if this is possible, but hopefully it is in

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.