How can we implement Dropdownlist functionality in iPhone - iphone

I know there is no any controls like Dropdownlist in iOS library but suppose we want to implement this type of functionality then how can I do this....
I do not want any code but just want to get suggestion from our peers...
So Let me know about how can I implement it in iPhone...
Thanks in advance..

I think UIPicker is generally the alternative to the drop down on iPhone, that's what pops up when you use a drop down in the web browser.
See Apple's documentation for further reference.

Related

iPhone grouped UITableView

Hi I'm new in iPhone programming, I'm looking for someone who can give me a tutorial on how to create a grouped TableView style please, if you can post an example with the .h and .m files, that will be much appreciated.
Thanks in advance.
You can just set it up as you would a regular tableView. If you are using Interface Builder, you can change the style there. Or if you are creating it programmatically, you can set initWithStyle:UITableViewStyleGrouped, which gives you the desired look.
Here is a good tutorial to help you get started if you are unfamiliar with creating a tableView in general
There is a simple example on the Apple Developer Site called TheElements which shows how to set the different styles.
If you are new to iOS I strongly suggest you check out the stanford course Developing Apps for iOS. Section 10 talks about TableView.

iPhone - Image selection similar to Music Album in iPhone

I am new in iPhone programming. I want to create a puzzle game and I would really like to implement and image selection screen similar to the way you select a Music Album in iPhone iPod.
I can't upload a picture, but I will send you a link if my description is not detailed enough.
I don't know what to search for details. Can you give me a hint if it is even possible to implement it?
Thank you a lot,
Andrei
Refer to this, it is much easier one.
That's called Cover Flow and there's an open source library that does something similar here.
Alternatively, Apple has a built-in UIImagePicker.

What's the best way to skin my iPhone app (similar to how the Notes app is skinned)?

If you look at the Notes app on the iPad, you can see it uses all native iPhone controls, but they're "skinned" to look like a pad of paper. What's the best way to implement something similar to that? Could I use interface builder and simply change the background image for each of the controls, including the TableViews?
Thanks in advance for all your help! I'm going to continue researching this question right now.
This article from Dr Touch will probably come in handy: Stuff you learn from reverse engineering Notes.app
It's a little more complicated than that. My suggestion is manifold:
Hire a real designer to make the artwork.
Subclass whatever controls you want to skin, and handle this business directly in drawRect:. Interface Builder will not help you in this instance.
Consider drawing your controls programmatically instead of using images; a really cool thing would be to cache the programmatic drawings so that they only have to be performed once.
Best of luck!

IPhone SDK - How do I implement an Apple like rating UIAlertView?

Does anyone have an Idea how to implement an UIAlertView for rating purpose like Apple show when you are removing an app from the iPhone?
You can choose how many stars to rate the app or don't rate it at all.
I already have a view that shows the stars according to the user touches but don't know how to connect it to the UIAlertView...
Thanks!
A good tutorial how to do this:
http://iphonedevelopment.blogspot.com/2010/05/custom-alert-views.html
I like the TSAlertView. It's a complete replacement of UIAlertView based on UIView. So you don't use any private APIs.
I used it in multiple projects and I really like it. Take a look at it. With that one it should be easy to add your "starview" to the AlertView becuase you have methods to add a contentView.

iPhone - UIImagePickerController - How to allow user to pick the source?

I'm writing an application that uses UIImagePickerController. I'd like to give users choice of source of pictures, either take a new photo or choose from existing ones. I'd like to create exactly the same selection interface as is in twitterfon or in safari when you hold tap on the link. It looks like some standard SDK thing but I have completely no clue where to find some sample code. I've googled for hours and I have nothing.
I would really appreciate any tips.
Thank you
What you're looking for is the UIActionSheet. The documentation has everything you need to set one up and how to respond to which button is pressed.
You'll also want to use the constants defined for the UIImagePickerController sources, namely
UIImagePickerControllerSourceTypeCamera
UIImagePickerControllerSourceTypePhotoLibrary
That would be an UIActionSheet. Make sure to point its delegate property to your implementation of the UIActionSheetDelegate protocol to catch clicks on the buttons you define.