In IOS 7 when the user has snoozed an alarm, the lock screen shows a count down in the form of mm:ss. I am wondering if this is a private function that only apple apps can utilize or of it is possible to display any custom text on the lock screen. Code is preferred, but a link to the api will be accepted (assuming it is possible).
Yes, there is. It is not possible for you to change something on lock screen.
Related
I am developing an iOS app and one requirement of the app is that the user has to be able to interact with the app through buttons or clickable text on the lock screen. A minimum of 5 and a maximum of 8 buttons are to be shown to the user on the lock screen.
Please suggest what I can use to add this feature to the application.
Unfortunately, you cannot add controls of any kind to the lock screen in iOS. However, one option that might work for you is a today extension. Today extensions are accessible from the lock screen if enabled by the user.
Apple Docs on Today Extension:
https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Today.html
Here’s a good tutorial on how to build a Today Extension:
https://www.raywenderlich.com/150953/today-extension-tutorial-getting-started
Currently it is cumbersome for the user to repeatedly scroll and take a screenshot if they want to capture more than what can fit on the screen at a time.
I would like to implement functionality such that at the request of a user (e.g. via tapping a special button on a custom keyboard), screenshots of the entire scrollable area of the currently opened app are automatically taken and stitched together.
Is this possible? And if so, how?
To clarify, the application containing the scrollable area is a third party application over which I have no control, e.g. iMessage or Facebook.
Edit: I am aware of answers like this one and this one that are about taking screenshots within an app that I control. As far as I can tell, these are not applicable in my situation. Please correct me if I am wrong about this.
This is not possible. Each app is contained in a protected sandbox that no other apps have access to.
You could make a custom keyboard, but you still wouldn't have access to any of the views in the app that you don't control.
Recently, I have installed Twilight on my Android phone. Apparently is adds a color tone effect on the screen. Here are two screen shots taken from PlayStore.
Now my question is that is there a way to develop similar system display tone color set up application in iOS?
It is not possible as Apple restrict the developers to edit home screen. There are very limited features that we can access like Calendar, Gallery, etc. The above screenshot your are showing is related to Widget but there are no Widget concept in iOS.
Yes, it is certainly possible and I use an app that does this.
Have a look at https://github.com/anthonya1999/GoodNight, It's even open sourced.
However an app like this will most likely be denied from the App Store, but never the less it is possible.
Night Shift is supposed to bring something like this in iOS 9.3, though not to that extent.
I don't know of any public API that would allow an application to change that kind of parameter system-wise, though. Maybe in the Accessibility framework, but that would restrict it to app-wise, not system-wise.
Thanks in advance.
Is it possible to show a capture screen like assistive touch view in ios when we click on application icon.Means i want to show the iPad screen and top on the with transparent background a view need to display.
I want to create an app like this after clicking the app icon i want a screen like this on my main screen and i can able to customize it and capture the selected area. is it possible to do that. and is there any api for that.
i don't think you are allowed to capture the home screen in public api. this question had similar request.
How can I take a screenshot of the iPhone home screen programmatically
UIGetScreenImage() mentioned in the answer is very useful, if you only targeting Jailbroken phones.
However, i found an open source library called "Record My screen", which claim can
Record the display even on non-jailbroken iPhones.
I personally didn't test that, since i believe Apple would somehow find that and pull the app off (that happened to several apps before). If you really interested in it, maybe you can learn something from that library.
Hope that helps you.
As my title says, is it possible to protect content in an app from being screen captured? Can you make an app notice when someone is trying to take a screenshot(photo) and replace the UI(view) with empty content ?
Short: Sort of. See this answer here: https://stackoverflow.com/a/14120549/322548
Long: You can protect your content by hiding passwords, etc. before a screenshot is taken or before your app goes to the background. However, detecting screenshots isn't as easy as it sounds. Until iOS 6 you can at least detect a screenshot being taken (see link above), but this might change with any new iOS release.