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

The Archive Base Latest Questions

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

With the storyboard I’ve built one ViewController1 with an Add button. Click on add

  • 0

With the storyboard I’ve built one ViewController1 with an “Add” button. Click on add display a PopoverView (in ViewController2) with only a Picker within.

So my PickerView’s delegate is in ViewController 2 but I want it in ViewController1…
Is there a easy way to do this so ?

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-03T04:28:23+00:00Added an answer on June 3, 2026 at 4:28 am

    In your ViewController1.h file, change your interface header to this;

    @interface ViewController1 : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource>;
    

    That makes your ViewController1 in charge of the delegates. Then add the methods you want in the ViewController1.m file. Also, set the delegate of the UIPickerView to your instance of ViewController1 with this:

    [yourPickerview setDelegate:ViewController1];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the storyboard interface, you can only choose one icon to represent the button.
I created an animation storyboard in xaml file. That story board begins on Button.Click.
On one of the scenes in my storyboard, i placed a button. It shows
Storyboard push modal custom segue. I am working on storyboards and on click on
I am using Storyboard successfully. One screen isn't empty, it has a class NotifierViewController.
In storyboard I can setup a segue from a button to a UIViewController and
Given a storyboard-based application, how can any one view controller invoke the methods of
I'm using storyboard to create a grouped UITableView . Within the table I have
I'm using a StoryBoard which contains various ViewControllers and a TableViewController, one in particular
I managed to build my storyboard behind code. I don't know how to add

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.