Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-11-2009, 12:53 PM   #1 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 1
Arrow UIButton in UIScrollView

Hey Hey!
I have some Problems concerning scaling of UIButtons in UIScrollViews:

I am trying to build a hiking m-app with several hot-spots: buttons und a scrollable image. Of course these shoud be geostationary when moving and scaling the map.

Since the map has huge dimensions, i tried to use the Tiled Scroll View example from the apple iphone developers sample code. (ScrollViewSuite)
ScrollViewSuite

BUT no matter where (in the code) I place the buttons, they either do not transform at all or only behave correctly on translating the map. If I try to zoom the map, they all move to the upper left corner in a skew line.

(and putting the button as a subview of TapDetectingView crashes the app)

Am I missing some transformation?

Thanks in advance
nimrod is offline   Reply With Quote
Old 07-13-2010, 07:10 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 3
Default Possible Solution

Hey Buddy,
I'm working on a seemingly similar app. I have found a possible solution to the UIScrollView Button problem.

In the simplest of terms in the
- (UIView *)tiledScrollViewTiledScrollView *)tiledScrollView tileForRowint)row columnint)column resolutionint)resolution
method I wait to display the buttons until any image at resolution 100 is displayed. This allows the user to drill down into the image without getting bombarded with buttons or getting lost in the magnitude of the initial image view.

I am going to continue to work at this more, but if you need any more help regarding the Button displaying or if you want specific code, email me at motion.ink.studios@gmail.com.
MotionInkStudios is offline   Reply With Quote
Reply

Bookmarks

Tags
map, scaling, transformation, uibutton, uiscrollview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 329
20 members and 309 guests
ADY, Alsahir, Dani77, e2applets, iph_s, JasonR, keeshux, mer10, Monstertaco, piesia, prchn4christ, Promo Dispenser, Robiwan, sebasx, sly24, Touchmint, twerner, zulfishah
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,759
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0