I was wondering how I could access the iPhone's Home Screen Image so that I can use it as the background for my application. In short, access the NSImage that represents the home screen's wallpaper.
Thanks.
Firstly, on an iDevice, it is a UIImage. Secondly, in answer to your question, no - not using public APIs at least.
Related
I am making an app using Swift and plan to release it to the apple store. Is there any way to change the lock screen image automatically when you are not on the app by allowing certain permissions?
Thanks!
sadly, there is no access to the lock screen image!
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
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.
Can anyone point me in the right direction on how to implement a image gallery like the one that the App Store uses for screen shots of apps? I am trying to get images in a horizontal gallery so that the user can flick through them. The app store nicely snaps to each image.
If you want an "App Store screenshot"-like experience, check out this post by Alexander Repty. I've been looking at doing something similar, and UIScrollView's pagingEnabled functionality definitely won't get you there by itself.
Look at the UIScrollView API here. There is a property 'pagingEnabled' that should help you out.
Check out Three20. http://github.com/facebook/three20/
I have developed a project that has a single view. Now I want the view to be transparant so that I can see the iPhone menu. Is this possible and if so, how?
Thanks.
No, you can't see the springboard in your apps.
It is NOT possible to do that. You can't make the whole app transparent so that you see the springboard icons.
Of course, you could set a homescreen screenshot as background image in your app. But, as already said, it's not possible to do that what you want.