Display message like the mute/volume transparent rectangle on iPhone SDK - iphone

Does anyone know how to use the semi-transparent rectangle to display info to the user on the iPhone SDK? I mean the one that is used when you mute the phone or press the volume up/down keys.
Thanks a lot.

There are many drop in classes out there for you to choose from.
MBProgressHUD
Also, check out TapkuLibrary also has a nice progress hud class.

Related

Transparent iphone application

I'm trying to build an application that is launched has a transparent background, in practice, showing only the objects in view (buttons, labels etc etc) but not the background so you can see the background the user's home.
In the example file you can see the purple square image at the center of the screen, in theory should be a normal UIView with a picture in the center but does not see the background of UIWindow/UIView.
Is possible to realize such a thing? Can anyone help me?
thanks
No. It's not possible using the official SDK. I'm interested to know why you would want to do this?
It might be possible, try setting the window background color to clear, as well as the view controller's view background color.
I say it might be possible because I've seen my home screen while using some apps, for example, the Facebook app sometimes shows it during a transition (it might be a bug on either Facebook or the OS).
Anyway, I'm pretty sure that kind of app would be rejected from the App Store, so be advised.

May I handle moving icon of my iPhone application

Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.

iPhone App Tutorial/Help Screen UI

What is the best way to create tutorial or help screens that can be viewed in an iPhone App on launch?
I'm debating between using two paradigms:
Edit a screenshot of the app with an image editing program to add static help text. Interaction is tapping or scrolling through the tips. This involves creating a custom UIViewController to advance to the next help screen.
Create a custom iPhone UIControl on top of the App user interface that can be tapped to advance to the next tutorial tip. The application will transition between the modes and will be active, rather than static. It involves adding hooks into the App's custom ViewController's to handle "TutorialUIControl" objects.
Here's some screenshots of the application that I need to make help screen UI for, it's an application that creates artwork. More App Information
Screenshot 1: View mode that allows viewers to scroll through an image list, like the UIImagePicker, but for custom image collections.
Screenshot 2: Action mode - allows viewers to select images to save to the "My Saved" album from the active art generation album "My Evolution" or evolve images using sexual/asexual image reproduction.
The "right" answer really depends on the application you are designing. I would highly suggest getting as many apps as you can and looking at how they do help. See what works and what doesn't and think about how that is related to your own design.
In my app (a game) I chose to build a set of static images that could be scrolled through to provide detailed help (based on Apple's sample code). But, I also built an interactive tutorial that plays the first time you run the game. I also pop up a welcome overlay the first time the app is run and suggest what button to press to start a game.
It also helps if you test your tutorial with a lot of different people. After several designs with things too complex, I boiled down my instructions to something extremely simple: "Press the green buttons", and then built up from there.
You can easily store a preference to say whether the app has been launched before, and if that entry is blank you run the tutorial again.
You can create an HTML tutorial that you view through a UIWebView. In on of my iPad apps, I just made a large image that I presented modally with images and text explaining how to use the app.
For iPhone, the best way to include a "How-To" tutorial for your app would have to be a web document, seeing as how you can add images and formatted text.
Alternatively, You can add more views to your controllers with transparent backgrounds and animated buttons and text, for a more interactive feel.
To answer my own questions many months later.
I revamped and used WEPopover to show my help popups, as seen in the iPhone/iPad App, Wallpaper Evolution Lite. The help disappears only if tapped or the button it was attached to was pressed. Using this flow I could highlight a series of buttons to the user.
I added help images within the application to highlight interaction behaviors with the content. The tap, zoom, and drag images are fully interactive.
As #WrightsCS mentioned HTML is another avenue. I use the UIWebView to provide a more in depth help/tips screen with contact information.
In my upcoming app, I'm making use of a paging UIScrollView with help content highlighting app features. The help screen is loaded on the first start of the app, and is accessible through a help menu option.
Here's my fork of the WEPopover github project: https://github.com/PaulSolt/WEPopover

how to implement animation on shake effect in iphone?

I have implemented one simple application for iphone.now i want to implement some animation.
Example:i have selected one photo from the photo library.Then i want to animate selected portion from the photo using shake effect.
I have seen lots of application in apple store.But i dont know how to implement this functionality.
Maybe you are referring to the "wobble" effect? See how to create iphone's wobbling icon effect?

iphone google maps crosshair button

I would like to use or emulate a button like the gps button in the bottom left corner of the standard maps application on the iphone OS. The button behaves like a toggle button where gps is enabled or disabled depending on whether it is pushed and it may hold a small spinner component while the gps is finding your position.
Does anyone know if this component can be easily constructed using default components? If no, what would be the best way to develop such a component?
Is the crosshair/target icon a generic icon that I can re-use?
The button is just an image, you should be able to recreate it.
In order to do the tracking, I would look at this sample code: http://developer.apple.com/iphone/library/samplecode/LocateMe/index.html
It shows you how to get the GPS coordinates, then you can feed that data into a MKMapView.
Apple's Spinner Button is hidden, but can be used with systemButton: 100