Is it possible to remove the "cancel" button in UIImagePickerController? - iphone

I have a UIImagePickerController as one view in a TabBar setup. Is it possible to tell the UIImagePickerController to not show the Cancel button in the top navigation bar when browsing photos libraries?

Not in a supported way. UIImagePickerController is designed to be shown as a modal controller.

I just wrote a short blog article on customizing the view hierarchy created by UIImagePickerController. It's targetted at the camera capture mode rather than photo library, but the principles should be the same.
See: The Airsource - Views of UIImagePickerController

Related

Is there a way to prevent modal view to take fullscreen on iPhone

I know this is an iPhone thing that the ViewController will take fullscreen when presented modally (in iPad it has transparent layer and not fullscreen). But is there a possible way to prevent the ViewController getting fullscreen on iPhone? I found some third party libraries that claim to do it but I'm hoping there's a way to do it without a third party library.
You might create a controller with a clear background then add a view on top that is sized however you like:
iOS: Modal ViewController with transparent background

custom uitabbar in monotouch similar to voice memos app

I am trying to replicate the feature in voice memos app that uses a custom UiTabBar displaying a slider (showing how long and where the the audio currently is) and two buttons (delete and share). I am struggling to find answers as to generate a similar tabbar that can control the content shown in the background. I would appreciate any comments or suggestions on how to achieve this with monotouch. Thanks.
To put it simply, what you are seeing in the voice memos app is not a tab bar. It is a custom UIView that is at the bottom of the screen.
Create a custom view to put at the bottom, and give it delegate call backs to your controller that also controls your other content. When a button is pressed have you view call back to the delegate and then the delegate can act on it.You may also want to give your custom view an external property so that you can have your controller update the position of the slider.
Hoep this is of some help to you :)

iOS Bubble Popup Menu similar to ITunes

Could anyone provide some guidance on how to implement that speech-bubble like popup menu when you click "More" in the IPhone IPod application toolbar?
I think you are looking for UIPopoverController. Popover controllers are just containers for view controllers: write a view controller that does what you want, and you're set. But this is for iPad. If you want this for iPhone, then read on. I have put up some solutions.
You could even explore UIActionSheet but UIPopOverController gives more flexibility.
I believe you are talking about something like this ?
Here are some solutions you could adopt -
Forgot that you wanted this for iPhone, Have a look at the iPhone UIPopoverController implementation: WEPopover
On iPhone you would generally use a UIActionSheet for a stack of buttons like that. It slides up from the bottom, rather than popping up next to the button, but that's the standard behavior on iPhone.
Or you could manually instantiate a UIView using a custom background image or drawing with transparency, add some UIButtons (or other type of custom view) on top, and also somehow handle all touches outside that view.
Note that is is non-standard UI. An actionsheet would be more HIG compliant.

Three20 Photo Viewer causes my layout to slide up

thanks for any help with this.
I'm using the Three20 Photo Viewer in my app. Before I navigate to the photo viewer, all my views appear correctly, but after I click back out of the Photo Viewer, all of my content is slid up underneath my navigation bar.
Has any one experienced this, and found a solution?
Thanks for any help,
Dave
TTPhotoViewController sets navigation bar to be translucent and also sets it's wantsFullScreenLayout to YES. You need to play with those in your controller (when you are back to it from photo controller) to fix stuff.

iPhone view with pop up animation?

I'm new to iPhone development, its going OK so far, I've managed to get to grips with the Tab bar, navigation bar and tableviews.
However I want to be able to copy what the settings app does on the device when a user wants to change language.
In Settings, General, International when a user clicks on Language a new screen animates over the previous screen with a navigation bar that has a cancel and done button and a table view showing the languages available for selection.
I cant seem to find how to do this via Google so I was wondering if someone could point me in the right direction of a tutorial or what I should be searching for? Is it type of view or a certain way to animate a view?
This is done via a method available on UIViewController (and thus all of its derivatives as well) called - presentModalViewController:animated:. You simply need to create a new view controller that you want to display and pass it into that.
See the link to the UIViewController docs above for more info and the complementary method - dismissModalViewControllerAnimated: to close the view. The docs have links to example code on how to use them as well.
in iPhone, it's done through modal view controller. Refer this tutorial.