Re: iPhone Question: UIScrollView
Re: iPhone Question: UIScrollView
- Subject: Re: iPhone Question: UIScrollView
- From: Graham Cox <email@hidden>
- Date: Wed, 22 Jul 2009 01:03:41 +1000
On 22/07/2009, at 12:56 AM, Eric E. Dolecki wrote:
Might it be okay to add buttons via code on top of a big image, and
just handle button events that way instead of using a sep view?
No idea. But why do things in a weird way when a perfectly good
supported way already exists?
If you add buttons to a view and that view is in a scrollview, and its
bounds is big enough it will scroll. The buttons will scroll around
with it if that's what you have in there. The buttons can be added in
code or in IB, and the main view can draw an image if you want.
What was the question again? Seems to have strayed from the point.
--Graham
_______________________________________________
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