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 03-14-2011, 03:55 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 18
matmatmat is on a distinguished road
Default What's that canvas type?

Pls can anybody say to me, what type of canvas or UI component is used in application named: "VirtualSurgery" (or any similar)?
It's a canvas for image, where you can choose a part of it (with any mask) and crop it then.

Or generally, which one component is adapted for moving and zooming with image (like editing after camera shooting)?

Thanks
matmatmat is offline   Reply With Quote
Old 03-14-2011, 05:18 AM   #2 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

Take some screenshots, upload to imageshack and post links here, don't make us look for it
baja_yu is offline   Reply With Quote
Old 03-14-2011, 07:46 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 18
matmatmat is on a distinguished road
Default

sry.. here is

http://dl.dropbox.com/u/4304676/synchro/screen_1.jpg

there you can select some area of picture by that rectangle and crop it...
matmatmat is offline   Reply With Quote
Old 03-14-2011, 11:04 AM   #4 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

That image is a part of iOS SDK just like the background patter for grouped table views. Try this:

1. Open IB, create a view.
2. Click on the view, then in the Inspector window go to attributes and find Background, click the little box on the left.
3. Colors window will show, click the middle button (palettes) then in the Palette dropdown list select iPhone SDK. In the list below look for scrollView TexturedBackground.

So (after this long explanation), it's not a component. You'll have to create and code your own marker to select a portion of the screen.
baja_yu is offline   Reply With Quote
Old 03-14-2011, 05:22 PM   #5 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 18
matmatmat is on a distinguished road
Default

omg i didn't want to know how to make pattern background

i asked how to code principially that one, you can choose any part of image and crop them of course ...

here's some other example:
http://dl.dropbox.com/u/4304676/synchro/screen_2.jpg
(can be selected some part of image and then it's cropped just that part)

Can anybody tell me, which component were used for that (ImageView? ScrollView?)

Last edited by matmatmat; 03-14-2011 at 05:26 PM.
matmatmat is offline   Reply With Quote
Old 03-14-2011, 08:34 PM   #6 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

Like I said in the last sentence, it's not one nor standard component. You'll have to make it yourself. Create a marker view, add gesture recognizers to it (pan to move, pinch to resize) etc.
baja_yu is offline   Reply With Quote
Old 03-15-2011, 11:40 AM   #7 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 18
matmatmat is on a distinguished road
Default

of course i know its not a standard component... i only want to know how to proceed by creating that marker view... what component do you recommend to use, etc..
matmatmat is offline   Reply With Quote
Old 03-15-2011, 12:02 PM   #8 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

A UIView.
baja_yu is offline   Reply With Quote
Reply

Bookmarks

Tags
camera

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: 362
10 members and 352 guests
Absentia, akphyo, apatsufas, BinHex, fredidf, iGamesDev, Kirkout, MarkC, mottdog, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

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