• 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
Re: Unable to add a subview above UIImageView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to add a subview above UIImageView.


  • Subject: Re: Unable to add a subview above UIImageView.
  • From: David Duncan <email@hidden>
  • Date: Wed, 30 Sep 2009 09:40:40 -0700

On Sep 29, 2009, at 8:34 PM, Lakshmie Narayan Viswanathan wrote:

I am new to iPhone programming and I am having a tough time to figure
out how things work. I have a MainWindow.xib where I have connected to
RootViewController. Now I added a UIView to the controller and then an
ImageView under it. I have another xib called Search which has a
UIview and two text fields under it. Search is connected to a
controller called SearchViewController (File owner). Now under the
RootViewController.m in the viewDidLoad method, I want to add a
subview on top of the view (which currently displays an Image). How do
I do this? insertSubView aboveSubView throws a warning irrespective
whatever I try to provide in the aboveSubView.  addSubView seems to
add the view but I get a white screen.


This is a bug in Interface Builder. The best you can do is file a bug requesting this, although if you do it would be marked as a duplicate of <rdar://problem/6208093>. The only work around is to move the view that you want to be a subview into the image view from code.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Unable to add a subview above UIImageView.
      • From: Erwin Hogeweg <email@hidden>
References: 
 >Unable to add a subview above UIImageView. (From: Lakshmie Narayan Viswanathan <email@hidden>)

  • Prev by Date: IB plug-in for iphone
  • Next by Date: Re: IB plug-in for iphone
  • Previous by thread: Unable to add a subview above UIImageView.
  • Next by thread: Re: Unable to add a subview above UIImageView.
  • Index(es):
    • Date
    • Thread