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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:03:10+00:00 2026-05-26T07:03:10+00:00

i am having a tableview in which custom cells are loaded.Custom cell has a

  • 0

i am having a tableview in which custom cells are loaded.Custom cell has a button on click of which a pickerview will open which will have options to choose from.

The problem is that modalViewController method is not working, it is giving the following error.

Selector *sel = [[Selector alloc]initWithNibName:@"Selector" bundle:nil];
[self PresentModalViewController:sel animated:YES];
error:property presentModalViewController not found on object of type CustomCell *...and selector is the pickerview controller class...the method is written in ibaction function in customcell.m file   

How can v call other view from custom cell?

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-05-26T07:03:11+00:00Added an answer on May 26, 2026 at 7:03 am

    First, naming your class “Selector” is a horribly confusing idea. You should use something more descriptive, and something that is not already an obj-c keyword.

    As for your problem, I think you should use a delegate to get a reference from your cell view to the controller. In your custom cell view class, do something like:

    @property (nonatomic, assign) id delegate;
    
    // implementation
    @synthesize delegate = _delegate;
    
    // in your cell... method
    [self.delegate presentPicker];
    

    Here, the delegate ivar would point back to your view controller. To set that up, find the place where you alloc your cell, and do

    ACell *aCell = [ACell alloc] init];
    aCell.delegate = self;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tableView which has a button to put it into a pseudoEditing
I have a UITableView on a view. This UITableView has cells which are made
I am having a custom 'tableview' implementation. I am implementing a feature which I
I'm having a problem. I have a Custom UITableViewCel, the cell contains a slider
I have a table view of custom cells representing individual uploads and each cell
I have a custom cell that contains a button in a table view. The
I'm having the following issue: I have a tab-style app. Eacht tab has its
I have a UISearchBar which is subviewed by another view when a button is
I am having Tableview which shows comments on facebook post. I am getting comments
I'll show you my problem by image. I have tableView in which i customize

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.