This question already has answers here:
Programmatically lock and unlock iPhone screen
(8 answers)
Closed 9 years ago.
How can my iOS program lock the iPhone's screen?
You can't. Why do you want to do this?
Related
This question already has answers here:
cocoa: How to make background transparent webView?
(2 answers)
macOS WKWebView background transparency
(2 answers)
Closed 5 years ago.
It is possible to change webView background to transparent color?
Using: Swift 4, Xcode 9.2, making a "MenuBar app." for mac osx.
screen
This question already has answers here:
Badge on App Icon in Iphone App
(2 answers)
Closed 6 years ago.
Any ideas how to apply a red dot to the iPhone App icon - like the Mail or Messages' Icon with the number of unread messages in it?
Try this:
Swift 2:
UIApplication.sharedApplication().applicationIconBadgeNumber = 1// or you value
Hope this helps!
This question already has answers here:
How to set all the backgrounds transparent so that the home screen could be seen?
(2 answers)
Closed 9 years ago.
I ask this question after seeing apps like Reminders or Safari's tab view using this.
As you can see there is a translucency between the app and the home screen. Is there anyway to achieve this in iOS 7? Is it a private api?
No such luck sadly - it's a private API.
This question already has answers here:
Bring App to foreground
(2 answers)
Closed 9 years ago.
The application is running in background. I want that when someone shakes IPhone the application should come to foreground from background.
Is there any way to do this programmatically.
Thanks
No, this caanot happen. You dont have any control when your app is in BG.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Turn on torch/flash on iPhone 4
i make app for camera open it's turn on in flash light..
not open camera in video mode?
so if any method provide by ios to turn on flash light in did load method?
Thanks in advance....
Duplicate of Turn on torch/flash on iPhone
Thanks #progrmr for notifying.