• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIScrollView insertSubview:atIndex: problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIScrollView insertSubview:atIndex: problem


  • Subject: UIScrollView insertSubview:atIndex: problem
  • From: Dave <email@hidden>
  • Date: Mon, 30 Jul 2012 19:20:32 +0100

Hi All,

I'm trying to add an a View at the start of a Scroll View but it always seem to add to the end, not the start. The code I have is:

[theScroll insertSubview:myImageView atIndex:0];

In order to have the image added at the start of the Scroll View, but it acts exactly the same as if I'd have done:

[theScroll addSubView:myImageView];

Any ideas?

Thanks in Advance
Dave



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UIScrollView insertSubview:atIndex: problem
      • From: David Duncan <email@hidden>
  • Prev by Date: NSTextView scrolling
  • Next by Date: Re: UIScrollView insertSubview:atIndex: problem
  • Previous by thread: Re: NSTextView scrolling
  • Next by thread: Re: UIScrollView insertSubview:atIndex: problem
  • Index(es):
    • Date
    • Thread