Problem could be that you have multiple constraints for UILayoutGuide:0x3030f0c40'UIViewSafeAreaLayoutGuide'.centerY (related to each button), creating inconsistency when you move buttons as the position of others have not yet changed.
Where (in which func) do you change the constraints ? Do you call viewWillNeedLayout after change ?
Could you post a minimal code example of the issue ?
Why do you constrain to UIViewSafeAreaLayoutGuide and not simply to safeArea center ?
PS: another solution would be to duplicate (or triplicate) the buttons and change their isHidden property as needed.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
You could also try to contact support directly: https://developer.apple.com/contact/
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
You should avoid duplicate posts. Maybe it was just accidental.
Which user name ? On the forum ?
If so, AFAIK, only a moderator can do it. You should wait for a moderator to contact you.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Inspect your code.
What should happen when subscription is complete ?
How should you exit out of the page ?
Analyse in detail what could cause exit not to occur.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
24 hours is not a big deal. As long as it is not more than 3 days, you should not worry.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
You should either declare from and to in:
an init() - just declare type in the general declaration and set value in init
in .onAppear as a modifier of the VStack
But there are many errors in the code that you have to correct first:
you call distance in the distance func. That will cause infinite loop
return from.distance(from: to)
You need to set values of parameters,
let distanceFrom = from.distance(from: to)
such as
let distanceFrom = from.distance(from: from, to: to)
from is a CLLocationCoordinate2D
But distance is defined for CLLocation only…
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
You'd better show the complete code. Is it SwiftUI ? UIKit ?
The fact that image is of Niagara Falls or a corn field in Kansas does not matter and is useless information.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Really messy here.
This post was rejected several times as well, after a Gateway timeout in some cases.
You will need Swift in anycase, either you use UIKit or SwiftUI.
But you will probably learn the two at the same time.
Go to pathway : https : / / developer.apple.com/pathways/?cid=ht-pathways
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
You will need Swift in anycase, either you use UIKit or SwiftUI.
But you will probably learn the two at the same time.
Go to pathway : https : / / developer.apple.com/pathways/?cid=ht-pathways
Topic:
Community
SubTopic:
Swift Student Challenge
Just filed a bug report: Apr 7, 2025 at 2:09 PM – FB17148876
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
A 20 lines dense text, mixing facts and just feelings and recriminations, is just unreadable.
Please state clearly what is the question you have that other developers may help you resolve.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
The problem could come from the baseline offset:
https://stackoverflow.com/questions/69760382/how-do-i-fix-clipped-ascenders-and-descenders-in-a-custom-font
See more here: https://medium.com/mobimeo-technology/what-if-your-designers-want-a-baseline-grid-on-ios-d5234c7b52c0
Here on how to change offset (through attributes): https://developer.apple.com/forums/thread/124799
Why did it change in iOS 18.4 is another question…
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Removed
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
So, I try now to answer my own post (this one)…
It works.
But not when trying to reply to another thread, such as: https://developer.apple.com/forums/thread/779777
I tried from an iPhone, doesn't work either.
It seems that the (new) anti spam is at work.
• If I post this answer, with the word f r e e (edited from f--e), reply not accepted.
Go here for (f r e e) material to get started: https://developer.apple.com/pathways/?cid=ht-pathways
• But this reply is accepted:
Go here for material to get started: https://developer.apple.com/pathways/?cid=ht-pathways
Anti spam is now way too sensitive.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
Problem could be that you have multiple constraints for UILayoutGuide:0x3030f0c40'UIViewSafeAreaLayoutGuide'.centerY (related to each button), creating inconsistency when you move buttons as the position of others have not yet changed.
Where (in which func) do you change the constraints ? Do you call viewWillNeedLayout after change ?
Could you post a minimal code example of the issue ?
Why do you constrain to UIViewSafeAreaLayoutGuide and not simply to safeArea center ?
PS: another solution would be to duplicate (or triplicate) the buttons and change their isHidden property as needed.
- Replies
- Boosts
- Views
- Activity
You could also try to contact support directly: https://developer.apple.com/contact/
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
- Replies
- Boosts
- Views
- Activity
You should avoid duplicate posts. Maybe it was just accidental.
- Replies
- Boosts
- Views
- Activity
Which user name ? On the forum ?
If so, AFAIK, only a moderator can do it. You should wait for a moderator to contact you.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
- Replies
- Boosts
- Views
- Activity
Inspect your code.
What should happen when subscription is complete ?
How should you exit out of the page ?
Analyse in detail what could cause exit not to occur.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
- Replies
- Boosts
- Views
- Activity
24 hours is not a big deal. As long as it is not more than 3 days, you should not worry.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
- Replies
- Boosts
- Views
- Activity
You should either declare from and to in:
an init() - just declare type in the general declaration and set value in init
in .onAppear as a modifier of the VStack
But there are many errors in the code that you have to correct first:
you call distance in the distance func. That will cause infinite loop
return from.distance(from: to)
You need to set values of parameters,
let distanceFrom = from.distance(from: to)
such as
let distanceFrom = from.distance(from: from, to: to)
from is a CLLocationCoordinate2D
But distance is defined for CLLocation only…
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
- Replies
- Boosts
- Views
- Activity
You'd better show the complete code. Is it SwiftUI ? UIKit ?
The fact that image is of Niagara Falls or a corn field in Kansas does not matter and is useless information.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
- Replies
- Boosts
- Views
- Activity
Really messy here.
This post was rejected several times as well, after a Gateway timeout in some cases.
You will need Swift in anycase, either you use UIKit or SwiftUI.
But you will probably learn the two at the same time.
Go to pathway : https : / / developer.apple.com/pathways/?cid=ht-pathways
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
- Replies
- Boosts
- Views
- Activity
You will need Swift in anycase, either you use UIKit or SwiftUI.
But you will probably learn the two at the same time.
Go to pathway : https : / / developer.apple.com/pathways/?cid=ht-pathways
Topic:
Community
SubTopic:
Swift Student Challenge
- Replies
- Boosts
- Views
- Activity
Just filed a bug report: Apr 7, 2025 at 2:09 PM – FB17148876
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
- Replies
- Boosts
- Views
- Activity
A 20 lines dense text, mixing facts and just feelings and recriminations, is just unreadable.
Please state clearly what is the question you have that other developers may help you resolve.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
- Replies
- Boosts
- Views
- Activity
The problem could come from the baseline offset:
https://stackoverflow.com/questions/69760382/how-do-i-fix-clipped-ascenders-and-descenders-in-a-custom-font
See more here: https://medium.com/mobimeo-technology/what-if-your-designers-want-a-baseline-grid-on-ios-d5234c7b52c0
Here on how to change offset (through attributes): https://developer.apple.com/forums/thread/124799
Why did it change in iOS 18.4 is another question…
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
- Replies
- Boosts
- Views
- Activity
Removed
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
- Replies
- Boosts
- Views
- Activity
So, I try now to answer my own post (this one)…
It works.
But not when trying to reply to another thread, such as: https://developer.apple.com/forums/thread/779777
I tried from an iPhone, doesn't work either.
It seems that the (new) anti spam is at work.
• If I post this answer, with the word f r e e (edited from f--e), reply not accepted.
Go here for (f r e e) material to get started: https://developer.apple.com/pathways/?cid=ht-pathways
• But this reply is accepted:
Go here for material to get started: https://developer.apple.com/pathways/?cid=ht-pathways
Anti spam is now way too sensitive.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
- Replies
- Boosts
- Views
- Activity