How can I get screen from work table and then use in my app. I want take this photo and apply blur for this photo and use it like background for my app. So I mean that I want it looks like in Siri
Unfortunately it isn't possible to get a screenshot of the home screen on iOS devices.
You may be able to do something with a jail token device but not on a standar ios device.
You can blur things easily, such as your views; but there is no official API for capturing the system's own Springboard background.
Related
I'm building an ios app with an alarm feature. I would like to show a view when phone is locked. I want to look exactly like on iOS alarm. If you're an iPhone user try to alarm and locked your phone you will get what i'm talking about. Is it possible? If possible how?
Thanks in advance.
iOS doesn't provide apps that kind of access to the lock screen (or any screen not in your app), so it's impossible to make it exactly like the iOS native alarm. The closest you can get is sending notifications to simulate an alarm, which are visible on the lock screen
I was thinking about changing iPhone background using app. Is there some code in Swift to change iPhone background?
I donĀ“t mean change background of app. I mean change background totally of the iPhone.
There is no way to currently access the device's Wallpaper as of now.
Essentially Apple doesn't allow it, though jailbroken devices can access this functionality.
You also aren't allowed to set or change the wallpaper of the entire phone in third party apps. The user has to do that manually through the settings or photos app. You can add instructions as to how the user can do that in your app.
I was wondering if you can make the home screen visible through an app.
For example, let's take an example from the Apple Calculator. On macOS, the top is blurred and you can see everything through it.
I know iOS is a whole different OS and works through views and not tabs, but still: is it possible to e.g. blur the top of the iOS calculator and see the home screen through it?
Thanks, Ben
Unfortunately this is not possible, as this could be a serious breach of privacy for iPhone users.
If you could make the home screen visible through an app, a developer could technically save pictures of users' homescreens and store them in a remote database, which could give them access to private information. As a result, Apple doesn't allow you to do this.
I am fairly new to iOS. I need your help.
Is is possible to take screenshot of an application (lets say Music) which is running in the foreground and when iOS device's screen is locked using a program? If so, can you please let me know the code correspondingly. (This is for personal work only)
The iOS APIs for taking screenshots are private, which means that you cannot programmatically take a screen shot of the phone. Also, since iOS apps are sandboxed, you do not have access to the Music app (or any other app), so you cannot capture an image of the view being presented.
However, if the user takes a screenshot, you can access that screen shot using PhotoKit by getting the latest image in the Screenshots smart album.
I was wondering how I would create a small pop-up "subview" that appears on top of all apps and the home screen much like the Facebook chatheads?
I've seen plenty of threads on how to do this in android, but I was wondering how you would implement this in IOS obj-c?
You can not do that on iOS unless you are developing for JailBroken device.