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!
Related
This question already has answers here:
Android notification icon is a white circle
(6 answers)
Closed 4 months ago.
My app does not know show notification icon. It only shows white circle icon. how do I solve it?
You should explore issues section that related plugin first
App Icon in notification is empty : shown as grey square
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:
IOS: draw a line with your finger
(1 answer)
Capturing signatures in an iOS app
(2 answers)
Closed 9 years ago.
I have app in which i want that user sign the signature for contract as we normmally sign on paper so is there any way we can implement that signature user can do with finger as we normally do in documents.
You should do with the basic drawing feature available in iOS using
CGContextAddQuadCurveToPoint
Then take the image and then add to the field. Its good to have an ImageView on the place where you want to sign the same.
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:
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?