I'm making an app which is a counter.
I would like to show the time when the user enters the home screen as it is shown here:
https://dl.dropbox.com/u/8455739/SCR/IMG_2696.PNG
https://dl.dropbox.com/u/8455739/SCR/IMG_2697.PNG
Is it possible to use it? If yes, where to find it and how to use it?
Thanks in advance
You cannot change the content of the home screen.
What you can do that you display such a status bar inside your application.
The exampels you showed, have such a bar inside an application.
To create such a bar you create a custom View (see Apple ViewProgramming Guide)
where you implement drawRect().
In drawRect you draw a red rectangle with CGFillRect() or similar methods of CoreGraphics / Quartz2D.
You should use VOIP in Background or recording audio.
Check this LINK voip and LINK audio recording
Related
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.
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.
http://www.angrypuppetsoftware.com/imagehost/photo3.png
http://www.angrypuppetsoftware.com/imagehost/photo2.png
When you set a wallpaper on the iPhone, it shows some sort of activity indicator, followed by a checkmark (see screenshots above). Is there any way to integrate this into an application programmatically?
Nothing built in to the SDK. You can roll your own UIview or this should cover what you are trying to do quite nicely: http://github.com/jdg/MBProgressHUD
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?
Is there a way to create buttons similar to the glossy icon-buttons on the home screen on the iphone but in your own app? The only thing i've found to create image button is to create rounded rect-buttons and set the image or background property on it, but that does not automatically create the glossy surface and rounding.
You'll need to use images. Apple doesn't make the glossy UIGlassButton class public.
If you're after buttons the same size as on the home screen, on black background, you could just set the image as your Icon.png, install the app in the simulator, take a screenshot of the home screen with the generated glossy icon, cut the icon out, and repeat the whole process with the rest of your icons.
Maybe simpler, if you don't have Icon.png set in your app, you'll get the white button on the home screen. Take a screenshot of that, and use it in a layer in Photoshop or similar to lighten up the underlying layer with your icon.
If you need buttons with other sizes, have a look at this blog entry on Cocoa with Love. Those buttons don't look exactly like the ones on the home screen, but you might be happy with that look, or modify the code to your taste.