How to center items in login page? [closed] - ios

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

Related

how can I make a view like this [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
This is a check-in view, when people clicked the check-in button and according to their check-in date, the progress on this line will proceed.
Can you guys give me some suggestions, I'm so confused by how to start layout.Using UIBezierpath or other cases of solutions.
And how to solve the massive UILabel like +5,Day1 to layout and make constrains.PS: I use Masonry to make constraints, but It's really massive.
You can do with UISlider, below are some examples
G8SliderStep
GCXSteppedSlider
StepSlider

How can I programmatically clear the RAM in swift? [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 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.

How do I turn off the accessibility screenreader programmatically/automatically in swift? [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 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.

Circular Map View in iOS [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 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.

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/

Resources