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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 05-05-2011, 08:17 AM   #1 (permalink)
Registered Member
 
Join Date: May 2011
Location: Salisbury, UK
Posts: 5
RabbitFactoryUK is on a distinguished road
Unhappy Zoomable scroll View

Hi guys!

I have a simple application that has a tab bar and a navagation controller and the view is with in a scrollview.

Heirarchy:

-Scroll View
- View
-Textview
-ImageView
-Label

How the view does have a lot of information in it but the font size in the text fields and labels is a little small.

How would I go about adding zoom functionality in the ScrollView so that all the elements with in the View increase in size, as you would with say a image or if you were zooming a PDF?

This has been bugging me for ages and any help or links would be appreaciated
Thanks
RabbitFactoryUK is offline   Reply With Quote
Old 05-05-2011, 08:26 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 12
PowerGoofy is on a distinguished road
Default

No need to do this. Increase the font sizes.
PowerGoofy is offline   Reply With Quote
Old 05-05-2011, 08:53 AM   #3 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

Quote:
Originally Posted by RabbitFactoryUK View Post
Hi guys!

I have a simple application that has a tab bar and a navagation controller and the view is with in a scrollview.

Heirarchy:

-Scroll View
- View
-Textview
-ImageView
-Label

How the view does have a lot of information in it but the font size in the text fields and labels is a little small.

How would I go about adding zoom functionality in the ScrollView so that all the elements with in the View increase in size, as you would with say a image or if you were zooming a PDF?

This has been bugging me for ages and any help or links would be appreaciated
Thanks

Group all the views that you want to be zoomed into a parent UIView. In the scrollview delegate method viewForZoomingInScrollview: have it return this new UIView. Everything inside of it will be zoomed, and you will get the effect you want.
smithdale87 is offline   Reply With Quote
Reply

Bookmarks

Tags
scrollview, uiscrollview, zoom

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: 351
10 members and 341 guests
dansparrow, iOS.Lover, lorrettaui53, MikaelBartlett, Nobbsy, oztemel, pbart, PlutoPrime, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

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