So, I was using the Harmony Link app for iPhone with iOS 7, and a very cool visual effect occurred, my background showed up as the background to the window and it even had parallax motion. I noticed a similar occurrence in the Newsstand app.
Does anyone have any ideas on how to import the user's background into an iOS app? (Possibly even with parallax motion?)
Thanks.
I have seen other posts which do not address this question directly.
You can make your application's window transparent as described in this post: iOS 7 transparency but be careful as this is a non-public API.
Related
I would like for my flutter app to not allow screenshots for privacy. On android this is simple, I just used the flutter_windowmanager package. On iOS, there doesn't seem to be a clear way to block screenshots. However, I have run into some iOS apps like PicsArt and Facetune that you can screenshot but the image will just be completely black. Do you guys know any methods to do this? Or even just blur the final screenshot?
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.
On both macOS and iOS, when a user takes a screenshot of a video file playing within iTunes / the TV app, the screenshot is obscured and the media player layer appears as a solid black box in the screenshot as shown here:
iOS:
macOS:
I have read in other posts that it is not possible to obscure/prevent the user from taking a screenshot on iOS devices; however, as shown in these images, Apple appears to be using some method to obscure the content of the video in the screenshot file.
In these cases, how is the app managing to obscure the video content within the screenshot?
For MacOS it's pretty easy... set the window level to be above a certain point, for example in one of my apps where I disallow screenshots, I do this (in Objective-C):
windowLevel = CGShieldingWindowLevel();
[myWindowOutlet setLevel: windowLevel];
For iOS it's trickier. You can tell when a screenshot has been taken, but there's no official API to stop it from happening. One person on Apple's developer forums suggested to call "touchesCancelled"
I've noticed that Uber displays this kind of app shortcut in the App Switcher in iOS 9 with description "Arrived at home":
I'd like to use similar feature in my app. Do you know how is it possible to achieve it? I can't find anything on that in the iOS 9 documentation.
That shortcut is not displayed by Uber, it's displayed by iOS 9.
This feature is called proactive suggestions. The iOS constantly monitors your activity and displays suggestions at the bottom of the App Switcher based on your usage patterns. In your case iOS saw that you usually open Uber app when you arrive at home, so it showed you a suggestion.
There doesn't seem to be a way for your app to influence this behaviour because Apple doesn't provide an API for that.
I'd like to get the user wallpaper as background with blurred effect in iOS 8, I know that a lot of people asked the same thing, but I hope there's a way to do it.
I tried to use the method of the clear background color, but it doesn't work, there is just a black background.
I'd like to get the same effect of the Newsstand application of iOS 7 and iOS 8.
I'm using Xcode 6 (Objective-C)
Regards.
Assuming I get it you want a transparent view i app like weather or safari, then there is NO public API as of yet