How can I make shortcut in swift? [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a button . How do I add a shortcut to my iPhone's home page when it is clicked???
And when the icon is clicked again, the app will open again
Exactly like safari add to home screen

There is no way to create shortcut as on Windows or Anroid.

Related

How to convert [corona sdk]'s webview into an image? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
adding a webview inside a corona sdk is easy, now I want to convert this webview into an image, and save it into device, how ?
example image
Simply save a screenshot using display.captureBounds
https://docs.coronalabs.com/api/library/display/captureBounds.html

How to add a popup menu in i-Phone on a button click? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i am a beginner to iOS development.
I was trying to display a pop-up menu on click of a button. And i need to display some other action titles like update, delete,cancel on that pop-up menu. Could anyone please me to solve this?
You want to look into UIActionSheet and/or UIPopover.
UIActionSheet:
https://developer.apple.com/library/ios/documentation/uikit/reference/uiactionsheet_class/Reference/Reference.html
UIPopover:
https://developer.apple.com/Library/ios/documentation/UIKit/Reference/UIPopoverController_class/Reference/Reference.html
Note: UIPopovers are currently only for iPad but there are open source projects out there that recreate it for iPhone as well:
https://github.com/50pixels/FPPopover/

Access the user's selected desktop [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Am I able to use the user-selected iOS background image? If yes, how?
To be more clear, I want to use the image that appears behind the app icons, not the one on the lock screen.
Unfortunately this is not possible.
However, you can always ask for a feature enhancement: http://developer.apple.com/bugreporter/

How to stop background runnning app on button action [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to stop a background running app on a button action, and also start a process on button click through code. Is it is possible?
Yes you can do it. In application delegate background method.

I want to know how to create something like this alert for iphone app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
how could I create this menu for my iphone app?
UIActionSheet. Look up the documentation

Resources