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

sdkIQ for iPhone
($4.99)

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Dual Matches
($0.99)

Calcuccino Programmers' Calculator
($2.99)

SDKtoday
(free)

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 02-18-2009, 06:21 PM   #1 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 1,931
Default How customizable is the UIImagePickerController interface?

Hello All,

I was just curious how customizable the UIImagePickerController interface is (and how do I achieve the alterations). Basically I want it is simple as possible; is there any way I can remove the "Take Picture" thing at the top (or alter the text); and is there anyway I can change the text on the buttons (for instance say "return" instead of "cancel" etc. Any help you can offer would be very much appreciated. Thank you!

Edit: I've seen customization like this: http://www.codza.com/custom-uiimagep...er-camera-view but I would like to keep my app as approval-friendly as possible.

As for specifics what I really want is, when the camera is pulled up, the only thing there being a button at the bottom that says return (to dismiss the camera). No "take picture" button, no anything else. Thanks.

Last edited by scotopia; 02-18-2009 at 06:24 PM.
scotopia is offline   Reply With Quote
Old 02-18-2009, 08:43 PM   #3 (permalink)
Registered Member
 
tkilmer's Avatar
 
Join Date: May 2008
Posts: 583
Default

You could iterate through the items in the view and try to customize it that way. I have never tried it.
tkilmer is offline   Reply With Quote
Old 02-18-2009, 08:48 PM   #4 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 1,931
Default

Quote:
Originally Posted by tkilmer View Post
You could iterate through the items in the view and try to customize it that way. I have never tried it.
Thats what the guy in the link above does; I think I can reproduce what he did; but it seems to be rejection-worthy.

I was just wondering what parameters are customizable in acceptable/documented ways. I see a few parameters in the class notes; but I also have seen things like Rick, for instance, telling someone how to customize the toolbar etc, when I didn't see that in the class notes.
scotopia is offline   Reply With Quote
Old 02-18-2009, 09:01 PM   #5 (permalink)
1026 Development
 
Join Date: Jul 2008
Age: 21
Posts: 855
Send a message via AIM to Jeremy1026
Default

Quote:
Originally Posted by scotopia View Post
Thats what the guy in the link above does; I think I can reproduce what he did; but it seems to be rejection-worthy.
Sooner or later you are going to have to step outside of the box and try something on the border line.
Jeremy1026 is online now   Reply With Quote
Old 02-18-2009, 09:05 PM   #6 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 1,931
Default

Quote:
Originally Posted by Jeremy1026 View Post
Sooner or later you are going to have to step outside of the box and try something on the border line.
I'm already there, lol. I've modified the code from that project to look they way I want. I was just curious if there was a documented way of doing this.
scotopia is offline   Reply With Quote
Old 02-18-2009, 10:32 PM   #7 (permalink)
Registered Member
 
tkilmer's Avatar
 
Join Date: May 2008
Posts: 583
Default

You are not breaking any of their rules by modifying this. You are not using undocumented frameworks or features. You are simply using the knowledge of object oriented programming to know that a parent class has an array of views. Nothing rejection worthy in there.
tkilmer is offline   Reply With Quote
Old 02-18-2009, 11:32 PM   #8 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 1,931
Default

Quote:
Originally Posted by tkilmer View Post
You are not breaking any of their rules by modifying this. You are not using undocumented frameworks or features. You are simply using the knowledge of object oriented programming to know that a parent class has an array of views. Nothing rejection worthy in there.

Sweet. I got this looking the way I want, and presenting, relinquishing on command as desired; now I gotta work on the next part: programatically taking a picture.

I think there is no way to reproduce the same effect as pushing the green camera button...but I guess I can save the context of the imagepicker...though that will be lower resolution I think...
scotopia is offline   Reply With Quote
Old 02-18-2009, 11:58 PM   #9 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 12
Default He got approved...

Lajos Kamocsay, the author of the above blog post has three apps that seem to use this technique in the store. So like tkilmer says you're safe.
CodeDelight is offline   Reply With Quote
Reply

Bookmarks

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
» Stats
Members: 41,862
Threads: 49,770
Posts: 213,057
Top Poster: BrianSlick (3,139)
Welcome to our newest member, futurevilla216
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:05 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0