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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:37:07+00:00 2026-06-04T23:37:07+00:00

I have created a custom cell with buttons. the buttons should present a modalViewController,

  • 0

I have created a custom cell with buttons.
the buttons should present a modalViewController, one for the email and another for a webView.
I have also created a delegate to get a callback from the class.

so in the cell class:

 _delegateAction = [[HistoryVC alloc] init];
    _delegateAction.delegate = self; 
    [_delegateAction openData:_data Type:_title.text]; //start process

The class that the table is on is a UIviewController that have a table view. the (with the custome cells that are another class inherit from UiTableViewCell.

if you need meed information just tell me.

in the UIviewController I am trying to present a modal view as follow:

-(void) openData: (NSString *)data Type:(NSString*)type
{
    QRWebView * webView = [[QRWebView alloc] init];
    webView.url = data;
    [self presentModalViewController: webView animated:YES];
}

The modalview doesn’t show. I know that I’m doing something wrong, but what is it?

Thanks in advance.

  • 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-04T23:37:09+00:00Added an answer on June 4, 2026 at 11:37 pm

    I have managed to fix it by implementing the PresentModalView.

    What I did is to create a showModal and DismissModal in the AppDelegate class.

    Those method add to the Window the view I wanted by adding it as:

    [Window addsubview TheView];
    

    and for the Dismiss is removeFromSuperview.

    I implemented an animation to fake the modalView animation.

    to get to those methods I have used the shareApplication.

    and it’s works.

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

Sidebar

Related Questions

I have a created a custom cell and added one label and Image, I
I've created custom column(DataGridViewButtonControlColumn) and cell(ButtonControlCell) classes to hold System.Windows.Forms.Button controls. The buttons get
In my app i have created custom cell with 2labels and one check button.when
I have created a UITableView with a custom UITableViewCell . My cell includes one
I have created custom cell in which there are n number of image views.
I have a custom tableview cell created programmatically that consists of: a background view
I have created custom posts and I want one page in my site to
I have created a custom cell with its own .m, .h and .xib file.
i have created custom Cell in a controller CustomCellController. The custom Cell Contains a
I have created a custom view cell with a UILabel in it, I have

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.