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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:36:48+00:00 2026-05-28T04:36:48+00:00

I use the storyboard seque to modal a UIViewController over my tabbarController. The purpose

  • 0

I use the storyboard seque to modal a UIViewController over my tabbarController. The purpose of the view controller that pops up is to take a few user inputs and return an answer to a label on one of the tab bar views (the one that was selected before the view controller popped up).

In my code I added #import "viewBeforePopup.h" to the poppedUpView.h header file.

Then I create an outlet

IBOutlet viewBeforePopup *view;

The button that triggers the view controller dismal has this code associated with it


NSString *strToSet = textbox.text;

[view.label setText:strToSet];

[self dismissModalViewControllerAnimated:YES];

This use to work for me before storyboard mode. I Should note that the storyboard contains the tab bar controller which is initially loaded and then I added the additional UIViewController.

The view disappears properly and the tab bar view is visible, but the label does not change. I debugged an verified the string that I am trying to assign to the label has a value and it does. It just seems like everything works except for applying the text to the label.

Can anyone please tell me what I am doing wrong with my method or explain the ideal way of doing this since this is probably the wrong way to go about it.

Thank You 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-05-28T04:36:49+00:00Added an answer on May 28, 2026 at 4:36 am

    at a guess, it’s probably taking a snapshot image of the modal view and animating that off. try something like:

    - (void)dismissModal {
      [self dismissModalViewControllerAnimated:YES];
    }
    

    ….

      NSString *strToSet = textbox.text;
      [view.label setText:strToSet];
      [self performSelector:@selector(dismissModal) withObject:nil afterDelay:0.1];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two UIViewControllers that are contained in a navigatoin view controller and both
I have a storyboard animation that fades a control out of view using the
within my current project file I have a user control that has a storyboard
I have a storyboard setup as a Tabbed Application with first view controller containing
All I need is to view a UIView controller in same storyboard file manually
I was wondering how to properly use the storyboard to put up a view
I have a storyboard based app with a navigation controller as the initial view
I am trying to use a DynamicResource in Storyboard contained within a ControlTemplate. But,
Use case: user clicks the link on a webpage - boom! load of files
Use Case When a user goes to my website, they will be confronted with

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.