I Ran into a problem – I can’t attach text to the bottom of the screen – Text("Общи условия и поверителност")- when the screen is expanded a little, the object is at the bottom, but it doesn’t change its location on large screens. I tried using Stack { space() item } but then the object just goes out of the screen’s field of view. What am I doing wrong?
P.S. Text("Общи условия и поверителност")
iphoneSE:
2
Answers
@AvivProfesorsky -
The object has disappeared, but you can still click on it and go to another screen o_O
Try to position the screen with
.position(x: UIScreen.main.bounds.size.height)
You can use this extension for cleaner code –
If you want to be more accurate you can GeometryReader like so –
This will also includes the safeArea in the calculations