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 5 years ago.
Improve this question
In an iPhone, you can clear the RAM by holding down the power button, releasing it and then holding down the home button. I want to achieve this programmatically.
There is no public API to do this, and doing it with the button combination is generally a bad idea anyway.
Related
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 6 years ago.
Improve this question
I need to turn off the accessibility screenreader programmatically/automatically in certain view or viewcontroller
You can't, by design. This is a user preference and you should work with it, not against it.
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 7 years ago.
Improve this question
Trying to constrain a map view into a circle. Is there a way I can do some masking magic or something?
Any pointers or links are helpful.
You might want to try:
mapView.layer.cornerRadius = 999
mapView.clipsToBounds = true
Note: this will probably cover the legal notice in the bottom left corner which might result in your app being rejected from the store.
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 7 years ago.
Improve this question
There are a few buttons, labels and text fields for username and password.
I was thinking it might have to do with one of the options in Attributes Inspector.
What can I do to make sure everything is aligned to center?
Use autolayout. Here's a good tutorial: http://www.raywenderlich.com/83129/beginning-auto-layout-tutorial-swift-part-1
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/
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.