Post

Replies

Boosts

Views

Activity

Reply to Hello.
Welcome to the forum. This forum is for developers who need help or advice for developing their apps. It is not about software use, unless they are development tools. And it is not an official channel to Apple. You'd better post on the Apple Support Community: https://discussions.apple.com/welcome, or file a bug report. https://feedbackassistant.apple.com
Feb ’25
Reply to Swiftui Charts
Very strange indeed. I've tried using RuleMark as explained here: https://stackoverflow.com/questions/78873602/reverse-y-axis-of-swiftui-chart But get the same flipping. It does not occur if all values are equal but non zero: let data: [Double] = [10, 10, 10, 10, 10] Looks like a side effect of a "zero divide" (between the default minimum zero of y axis and the found max which is also 0) : when all values are equal, it wrongly computes the orientation (as you will see, chartYScale corrects this by providing the orientation). You should file a bug report. I found a solution using chartYScale: struct ChartView: View { let data: [Double] = [0, 0, 0, 0, 0] var body: some View { Chart { ForEach(data.indices, id: \.self) { index in LineMark( x: .value("Index", index), y: .value("Value", data[index]) ) } } .chartYScale(domain: [0, 50]) // <<-- Added this .chartYAxis { AxisMarks(values: [0, 10, 20, 30, 40, 50]) { value in AxisValueLabel() AxisTick() AxisGridLine() } } .padding() } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25
Reply to Repeated 4.3 Guideline Rejections After Compliance & Feature Updates
Welcome to the forum. My advice as you once experienced a rejection, is to add a comment to the reviewer, each time you submit a new version, explaining exactly what you tell here. App was once rejected under 4.3, but after adding unique features it was accepted . These included: ✅ Public tracking profiles ✅ Widgets for stats ✅ Background fetch for updates ✅ No login required That will help a new reviewer to perform an better informed review taking into account that you have corrected what caused a former rejection.
Feb ’25
Reply to Я хочу стать тестировщиком
Ваш вопрос очень неправдоподобен. Вы хотите быть бета-тестером? Бета-версии программ Apple? : в этом случае вы должны зарегистрироваться как бета-тестер https://beta.apple.com Другие приложения? Вы должны попросить принять участие в испытательном полете этого приложения. Или поищите публичные ссылки здесь: https://developer.apple.com/forums/testflight-public-links Посмотрите, как использовать testFlight: https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview/ Your question is very incomplete. What do you want to be a tester of? Apple beta software: in that case, you'll need to register as a beta tester. https://beta.apple.com Other apps? you have to ask to be part of the test flight for this app. Or look for public links here: https://developer.apple.com/forums/testflight-public-links See how to use testFlight: https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview/
Feb ’25
Reply to Set UILabel color in alertController
Changing the tintColor only changes color of active buttons, not message or title text. The best I found is to change the ppc backgroundColor to get a better contrast. Slight improvement with a very light gray: if let ppc = alertController.popoverPresentationController { ppc.sourceView = aButton as UIView ppc.sourceRect = (aButton as UIView).bounds if UIScreen.main.traitCollection.userInterfaceStyle == .dark { ppc.backgroundColor = UIColor(red: 0.01, green: 0.01, blue: 0.01, alpha: 1.0) } else { ppc.backgroundColor = UIColor(red: 0.99, green: 0.99, blue: 0.99, alpha: 1.0) } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’25
Reply to Unauthorized Access, Reinstalling software does not work
do things on their own Could you describe what they do ?   no wifi around, Do you mean you turned off wifi or did not find a wifi connection (that's different) Bluetooth: probably not, it is short range. Devices could speak between them, but no access from outside most likely. Did you try to turn it off as well ? You could read this: https://www.macworld.com/article/676307/how-to-know-if-your-mac-has-been-hacked.html If you were hacked, hackers would probably have taken care that nothing appears on screen. So unlikely. May be you have tasks running in background ? Or is it automatic software updates (but that should not if wifi is off).
Feb ’25
Reply to .
Welcome to the forum. May be the pin is hidden just as the title of your post ? 😉 What do you expect other developers can do for you ? You should read how to properly use the forum: https://developer.apple.com/forums/thread/706527 PS: Ask Twitter, if they still have any customer support.
Feb ’25
Reply to Hello.
Welcome to the forum. This forum is for developers who need help or advice for developing their apps. It is not about software use, unless they are development tools. And it is not an official channel to Apple. You'd better post on the Apple Support Community: https://discussions.apple.com/welcome, or file a bug report. https://feedbackassistant.apple.com
Replies
Boosts
Views
Activity
Feb ’25
Reply to Swiftui Charts
Very strange indeed. I've tried using RuleMark as explained here: https://stackoverflow.com/questions/78873602/reverse-y-axis-of-swiftui-chart But get the same flipping. It does not occur if all values are equal but non zero: let data: [Double] = [10, 10, 10, 10, 10] Looks like a side effect of a "zero divide" (between the default minimum zero of y axis and the found max which is also 0) : when all values are equal, it wrongly computes the orientation (as you will see, chartYScale corrects this by providing the orientation). You should file a bug report. I found a solution using chartYScale: struct ChartView: View { let data: [Double] = [0, 0, 0, 0, 0] var body: some View { Chart { ForEach(data.indices, id: \.self) { index in LineMark( x: .value("Index", index), y: .value("Value", data[index]) ) } } .chartYScale(domain: [0, 50]) // <<-- Added this .chartYAxis { AxisMarks(values: [0, 10, 20, 30, 40, 50]) { value in AxisValueLabel() AxisTick() AxisGridLine() } } .padding() } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Repeated 4.3 Guideline Rejections After Compliance & Feature Updates
Welcome to the forum. My advice as you once experienced a rejection, is to add a comment to the reviewer, each time you submit a new version, explaining exactly what you tell here. App was once rejected under 4.3, but after adding unique features it was accepted . These included: ✅ Public tracking profiles ✅ Widgets for stats ✅ Background fetch for updates ✅ No login required That will help a new reviewer to perform an better informed review taking into account that you have corrected what caused a former rejection.
Replies
Boosts
Views
Activity
Feb ’25
Reply to How to post openWindow, closeSpecificWindow, hideSpecificWindow from a swift class?
Did you consider creating a @State var that controls the state of the window. Do you want to resize window or a view inside ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Performing simulations in the UI elements in uikit
There may be another way, if the script of the guided tour is fixed. You could run it yourself and record the session. https://support.apple.com/en-us/102618 Then you could edit it to add any caption, voice, skip some parts…
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to swift编写的工程无法获取OC制作的sdk传输的数据
什么是 OC?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Я хочу стать тестировщиком
Ваш вопрос очень неправдоподобен. Вы хотите быть бета-тестером? Бета-версии программ Apple? : в этом случае вы должны зарегистрироваться как бета-тестер https://beta.apple.com Другие приложения? Вы должны попросить принять участие в испытательном полете этого приложения. Или поищите публичные ссылки здесь: https://developer.apple.com/forums/testflight-public-links Посмотрите, как использовать testFlight: https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview/ Your question is very incomplete. What do you want to be a tester of? Apple beta software: in that case, you'll need to register as a beta tester. https://beta.apple.com Other apps? you have to ask to be part of the test flight for this app. Or look for public links here: https://developer.apple.com/forums/testflight-public-links See how to use testFlight: https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview/
Replies
Boosts
Views
Activity
Feb ’25
Reply to Problem with Hidden photos
Welcome to the forum. The forum is for developers to get help on their apps development, not about existing products. You'd better ask on Apple support community: https://discussions.apple.com/welcome
Replies
Boosts
Views
Activity
Feb ’25
Reply to Set UILabel color in alertController
Changing the tintColor only changes color of active buttons, not message or title text. The best I found is to change the ppc backgroundColor to get a better contrast. Slight improvement with a very light gray: if let ppc = alertController.popoverPresentationController { ppc.sourceView = aButton as UIView ppc.sourceRect = (aButton as UIView).bounds if UIScreen.main.traitCollection.userInterfaceStyle == .dark { ppc.backgroundColor = UIColor(red: 0.01, green: 0.01, blue: 0.01, alpha: 1.0) } else { ppc.backgroundColor = UIColor(red: 0.99, green: 0.99, blue: 0.99, alpha: 1.0) } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to URL passed as attachment to notification is deleted when notification is added
Thanks. So I just missed a missing information in doc. It's not even described here: https://developer.apple.com/documentation/usernotifications/unnotificationattachment That's something to remember, because it is a very disturbing, and dangerous, behaviour.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Crash on Sequoia 15.2
Could you show the part of code where it crashed ? Is it ObjC or Swift ? SwiftUI ? Have you a minimal project to share that reproduces the crash ?
Topic: UI Frameworks SubTopic: AppKit
Replies
Boosts
Views
Activity
Feb ’25
Reply to Error Simulator Download Simulator IOS 18.2 22C5142a
Where did you install Xcode from ? Which version of MacOS ? Is it AppStore ? If so, try here: https://xcodereleases.com
Replies
Boosts
Views
Activity
Feb ’25
Reply to Unauthorized Access, Reinstalling software does not work
do things on their own Could you describe what they do ?   no wifi around, Do you mean you turned off wifi or did not find a wifi connection (that's different) Bluetooth: probably not, it is short range. Devices could speak between them, but no access from outside most likely. Did you try to turn it off as well ? You could read this: https://www.macworld.com/article/676307/how-to-know-if-your-mac-has-been-hacked.html If you were hacked, hackers would probably have taken care that nothing appears on screen. So unlikely. May be you have tasks running in background ? Or is it automatic software updates (but that should not if wifi is off).
Replies
Boosts
Views
Activity
Feb ’25
Reply to How to remove Build with iPad support
You included in the Xcode project meta data ? If so, generate a new build after removing support for iPad. As you are still in Prepare for submission, I think you can remove the old build and use the new one. Hope that works.
Replies
Boosts
Views
Activity
Feb ’25
Reply to .
Welcome to the forum. May be the pin is hidden just as the title of your post ? 😉 What do you expect other developers can do for you ? You should read how to properly use the forum: https://developer.apple.com/forums/thread/706527 PS: Ask Twitter, if they still have any customer support.
Replies
Boosts
Views
Activity
Feb ’25