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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:24:42+00:00 2026-06-07T04:24:42+00:00

In the iphone storyboard, i create a view controller, then i add a generic

  • 0

In the iphone storyboard, i create a view controller, then i add a generic view to that controller, then add a image view to the generic view. Then i implement the generic view controller code. However, it doesn’t show anything in the image view rectangle.

If i didn’t add a generic view first, just add a image view to the generic controller instead, it will show the image i want. But in this way, i can’t embed in a scroll view into that image view cause the “Embed In” option in Xcode is gray. If i add a generic view then image view, the “Embed In” can be selected to let me add a scroll view into the image view.

I got confused why it has this problem and couldn’t figure out.
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-07T04:24:44+00:00Added an answer on June 7, 2026 at 4:24 am

    Actually since no one helped me, then i just figured out by myself.

    - (void)viewDidLoad
    {
        [super viewDidLoad];
        self.imageView = [self.imageView initWithImage:self.image];
        self.scrollView.delegate = self;
        self.imageView.image = self.image;
    }
    

    The problem is this statement:self.imageView = [self.imageView initWithImage:self.image];, cause it disables the user interactions for the image view by default.(From the documentation)

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

Sidebar

Related Questions

I am using xcode 4.2 with storyboard to create an iphone app. When I
Im using Storyboard for most screens in my iPhone app. However, I have one
iPhone resources by default show up in a Resources group that's visible in the
iPhone/iPad dev newb here... I am using MonoTouch to create a universal iPad/iPhone storyboard
i'm new to iPhone i create an app using storyboard and tried to install
I need to create an iPhone app that will be a fairly simple application
I want to have a global array/variable in an iPhone app that uses storyboard.
I have this code in the viewWillAppear of my initial View Controller if (howManyLeft
I am trying to build an application for iphone with using storyboard that starting
When I create a XCode 4 iPhone template for TabBarController with storyboard, its automaticly

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.