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-08-2011, 11:00 AM   #1 (permalink)
Registered Member
 
TrueScot's Avatar
 
Join Date: Oct 2009
Posts: 48
TrueScot is on a distinguished road
Default Magnifying Glass and the UIButton

I have a core graphics chart drawn over a IB XIB view and it works fine with navigation buttons at the foot of the screen. I would like to use the magnifying glass to get a close-up of parts of the view - ie. the graph in particular (which can become a little congested) - for clarity more than anything. I don't want to zoom into the graph and drill down for more detail - which I wouldn't do anyway - its more the user experience of using the magnifying glass to enhance the image.

I can't find any way to use the magnifying glass other that in a UITextField. I was hoping to use a custom UIButton with a magnifying glass image. Any suggestions on how to do this would be appreciated.
TrueScot is offline   Reply With Quote
Old 05-08-2011, 04:59 PM   #2 (permalink)
Knows SQL
 
iisword's Avatar
 
Join Date: Oct 2009
Location: Somewhere the streets are on fire, the sewers are flooded, and the cats are high on catnip
Posts: 529
iisword is on a distinguished road
Default

Well I would think you would make a UIView, then use the touch method to figure out where the user was touching, and do some math and CG stuff to enlarge the area on the UIView you just made.
__________________
iisword is offline   Reply With Quote
Old 05-09-2011, 06:34 AM   #3 (permalink)
Registered Member
 
TrueScot's Avatar
 
Join Date: Oct 2009
Posts: 48
TrueScot is on a distinguished road
Default

Quote:
Originally Posted by TrueScot View Post
I have a core graphics chart drawn over a IB XIB view and it works fine with navigation buttons at the foot of the screen. I would like to use the magnifying glass to get a close-up of parts of the view - ie. the graph in particular (which can become a little congested) - for clarity more than anything. I don't want to zoom into the graph and drill down for more detail - which I wouldn't do anyway - its more the user experience of using the magnifying glass to enhance the image.

I can't find any way to use the magnifying glass other that in a UITextField. I was hoping to use a custom UIButton with a magnifying glass image. Any suggestions on how to do this would be appreciated.




For those interested check this out. It helped me develop a magnifying glass effect for a detailed, gongested chart.
Creating the ‘loupe’ or magnifying glass effect on the iphone. Craftymind
TrueScot is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone sdk, objective-c

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: 357
9 members and 348 guests
dansparrow, iOS.Lover, lorrettaui53, MikaelBartlett, 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:57 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0