How to achieve apple achievement badge screen in iOS - ios

I need to develop a feature in my application which shows one badge icon like the one apple watch application shows where we can rotate the badge. Can anyone suggest me how to achieve this?

Related

iOS - Show View when phone is locked

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

How to show iphone app icon on lock screen same as camera on bottom left

How to show iPhone app icon on lock screen same as camera on bottom left.
Is there any framework required to implement or just go to settings page in iPhone.
How to do it exactly please described step wise.
Thanks in Advance
You might have seen in certain circumstances some app icons are showing up in the bottom left corner of lock screen. That is an iOS 9 feature. that may be because of following reason.
You're near a business or iBeacon that is broadcasting its location and you have a corresponding app installed, such as being near a Starbucks store; drag the icon to the top of the screen to launch that app.
You're able to use Handoff to take over from an app on another device. For example, if you're composing an email message on your iPhone and switch to your iPad, drag the Mail icon that appears on the iPad up to load the message you were working on in the Mail app.
When you insert a headphone jack into the device's headphone port, or connect to a Bluetooth stereo, iOS 9 guesses you want to listen to something and displays the icon of the last audio app you used when connecting headphones or pairing to that particular speaker. Drag the icon up to open that app.
Reference : http://www.imore.com/how-use-home-screen-and-lock-screen-your-iphone-6s
Apart from these, there can be more reasons, like if you are using an application at a particular location/time for few times/days, then iOS will suggest the app once you reach that location or at particular time of every day.
you can't do this kind of stuff from code or from your application. It is apple's restriction. and you can't change it or replace with another app. it is by default camera app.

Showing app shortcut on App Switcher in iOS 9 based on geofencing like Uber does

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.

iOS 8 Suggested App icon lock screen

iOS Suggested App feature will show app icon on left bottom corner in iPhone lock screen.
Which delegate method will be called (on UIApplication or I don't know)
when clicking on the bottom left app icon ?
The Suggested Apps feature is a list of apps that are popular/relevant to specific locations, managed entirely by Apple.One can request to be added to that list for a specific app.
You can read more about it in this answer to a similar question, where an Apple Tech Support explains it: https://stackoverflow.com/a/26676020/2242359
Sliding up the icon from there will either open the AppStore page of the app or simply launch the app.
The other way to get you app icon to the corner of the lock screen is by using iBeacon - in that way the app must already be installed on the users device and the icon will appear when getting close to the iBeacon device.

How to put an icon on the iPhone lock screen?

I am not certain what OS made this capability available but I noticed that on my iPhone 5 (which is running the beta iOS8), when the phone is locked a "W" icon was appearing at the bottom-left. It shows "Slide to Unlock", the camera icon on the right, the "bar" that lets me access the control center in the middle - and a "W" on the left. Sliding this "W" up launches the Walgreen's iPhone app. I do not think this is a normal UINotification, nothing in Passbook, and when I go into the Notification Center settings, turning all notifications off for the Walgreen app, the icon still shows.
Is this a notification? Is this a plist parameter? Bug?
Thanks.
This is a new ios 8 feature that displays an app (purchased or not) that is relevant to your location. You must have been near a Walgreens at the time. As far as I know, there is no way to choose that app or submit an app for that. Apple decides what displays there.
You can turn this off by going to settings > General > Handoff and Suggested Apps. Then turn off Installed Apps. According to the description, these Apps are suggested based on usage and location.

Resources