Post

Replies

Boosts

Views

Activity

Reply to Questions Tags Saves Users Companies Labs Jobs Discussions Collectives Communities for your favorite technologies. Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. Lookin
Welcome to the forum. Your question is not about app development. So you'd better ask on Apple Support Community: https://discussions.apple.com/welcome PS: make the titles of your posts shorter and more explicit. Title is not to tell a full story. Read advice #13: https://developer.apple.com/forums/thread/706527
Topic: Safari & Web SubTopic: General
Oct ’24
Reply to App review getting rejected because of 2.1 - Information Needed
Appstore provides a solution for your case: If you are unable to provide a demo account due to legal or security obligations, you may include a built-in demo mode in lieu of a demo account with prior approval by Apple. Ensure the demo mode exhibits your app’s full features and functionality. You should probably contact developers' support to get some help.
Oct ’24
Reply to Guideline 2.3.7 - Performance - Accurate Metadata
It's great to provide screenshots, but please, reduce the size of each image. Read advice 10 here: https://developer.apple.com/forums/thread/706527 There are a lot of amounts, but are they prices ? Are any of them references to the price of the app or the service it provides ? If it is, as @endecotp wrote, remove them, replacing by $***. ** If not, explain very clearly to reviewer that the $ amounts are not related in anyway to the price of the service, they are just illustration of what a user finances may look like. Another thing. Are they real simulator screenshots ? We see the Dynamic Island partly below the notch, in a way I never saw before.
Oct ’24
Reply to Dismiss window with an ID on macOS <14
Did you consider using NSNotification instead ? addObserver in the window, which will close it Declare at top level (outside any class) public static let kForceClose = Notification.Name("forceClose") In viewDidLoad of the NSWindowController: NotificationCenter.default.addObserver(self, selector: #selector(closeIt(_:)), name: .kClose, object: nil) @objc func forceClose(_ sender: Notification) { self.window?.close() } Send notification in Button IBAction NotificationCenter.default.post(name: .kForceClose, object: self)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to Applying Custom Rounded Corners to a macOS Window
This should give a solution: https://stackoverflow.com/questions/42762856/nswindow-with-round-corners-in-swift let effect = NSVisualEffectView(frame: NSRect(x: 0, y: 0, width: 0, height: 0)) effect.blendingMode = .behindWindow effect.state = .active effect.material = .dark effect.wantsLayer = true effect.layer?.cornerRadius = 15.0 window.contentView = effect window.titlebarAppearsTransparent = true window.titleVisibility = .hidden window.isOpaque = false window.backgroundColor = .clear Does it ?
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’24
Reply to Task, onAppear, onDisappear modifiers run twice
I could not test on iOS 17 (my sample project crashes Xcode 15.3). Do you confirm it works there ? I see the same on iOS 18: DetailView initialized DetailView appeared DetailView task executed -->> button tapped DetailView disappeared DetailView appeared DetailView disappeared DetailView task executed This discussion may be interesting to read, even it did not let me understand what happens: https://fatbobman.com/en/posts/mastering_swiftui_task_modifier/
Topic: UI Frameworks SubTopic: SwiftUI
Oct ’24
Reply to Rejection from App Store Review
Welcome to the forum. There are multiple reasons for spam rejection. your app is too similar to another app or shares a lot of similar code with another app your app belongs to a category which is over crowded and thus rejected unless it has very specific and valuable features Could you show the complete rejection message and tell which category your app is ?
Oct ’24
Reply to Toolbar buttons in HStack merge with menu when .buttonStyle(…) is set
Reproduced the problem. All buttons are put behind the first in the HStack. Removing buttonStyle on the last button (whatever style) .buttonStyle(.borderedProminent) solves the problem. Or removing the menu also solves. Removing the Stack does NOT solve. So, HStack is not the problem. Bizarre. This fails as well. No Menu, one button without style ToolbarItem(placement: .bottomBar) { HStack { Button {} label: { Label("Foo", systemImage: "square") } .buttonStyle(.bordered) Button {} label: { Label("Bar", systemImage: "circle") } // .buttonStyle(.borderless) // Menu { // Button {} label: { Label("One", systemImage: "figure.arms.open") } // Button {} label: { Label("Two", systemImage: "figure.2.arms.open") } // } label: { Label("Baz", systemImage: "star") } Button {} label: { Label("Quux", systemImage: "triangle") } .buttonStyle(.borderedProminent) // Causes buttons to stack on one another } Restoring the style for the circle makes it work. So issue seems to be when one item has no style (which is the case of Menu) But if we remove style of a second item, it works. => Problem when 2 items in the toolbar have style and some other has not…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to Guideline 5.2.3 - Legal - Intellectual Property - Audio/Video Downloading
Guideline is very clear: 5.2.3 Audio/Video Downloading: Apps should not facilitate illegal file sharing or include the ability to save, convert, or download media from third-party sources (e.g. Apple Music, YouTube, SoundCloud, Vimeo, etc.) without explicit authorization from those sources. Streaming of audio/video content may also violate Terms of Use, so be sure to check before your app accesses those services. Authorization must be provided upon request. For you to solve, you have to get the explicit authorisation from the platforms. Some apps also offer similar features. So, how were these apps published? Do you know if they got such authorisation ? In any case, the fact that other app with similar feature has passed the review, in compliance with guidelines or not, is never an argument. And those apps, if not in compliance, may be rejected at a future review.
Oct ’24
Reply to Questions Tags Saves Users Companies Labs Jobs Discussions Collectives Communities for your favorite technologies. Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. Lookin
Welcome to the forum. Your question is not about app development. So you'd better ask on Apple Support Community: https://discussions.apple.com/welcome PS: make the titles of your posts shorter and more explicit. Title is not to tell a full story. Read advice #13: https://developer.apple.com/forums/thread/706527
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
Oct ’24
Reply to Can i use c++ in swift app project
It seems you may have a solution here: https://stackoverflow.com/questions/58227419/iostream-file-not-found-xcode Hope that one of the solutions works for you.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Iphone 12 Mini - Bluetooth Problem - IOS 18
Welcome to the forum. Your question is not about app development. So you'd better ask on Apple Support Community: https://discussions.apple.com/welcome Or file a bug report here: https://feedbackassistant.apple.com and provide as miuch information as possible on your iPhone configuration.
Replies
Boosts
Views
Activity
Oct ’24
Reply to App review getting rejected because of 2.1 - Information Needed
Appstore provides a solution for your case: If you are unable to provide a demo account due to legal or security obligations, you may include a built-in demo mode in lieu of a demo account with prior approval by Apple. Ensure the demo mode exhibits your app’s full features and functionality. You should probably contact developers' support to get some help.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Guideline 2.3.7 - Performance - Accurate Metadata
It's great to provide screenshots, but please, reduce the size of each image. Read advice 10 here: https://developer.apple.com/forums/thread/706527 There are a lot of amounts, but are they prices ? Are any of them references to the price of the app or the service it provides ? If it is, as @endecotp wrote, remove them, replacing by $***. ** If not, explain very clearly to reviewer that the $ amounts are not related in anyway to the price of the service, they are just illustration of what a user finances may look like. Another thing. Are they real simulator screenshots ? We see the Dynamic Island partly below the notch, in a way I never saw before.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Applying Custom Rounded Corners to a macOS Window
precise name of the color, material, or blend mode value employed for the border. Do you mean the border of a usual window ?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Casting `[String: Any]` to `[String: any Sendable]`
@Quinn, I'm missing something here. init?(dictionary: [String: Any]) { fatalError() } So why does this call not trigger fatalError ? guard let response = MyResponse(dictionary: responseDict)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Dismiss window with an ID on macOS <14
Did you consider using NSNotification instead ? addObserver in the window, which will close it Declare at top level (outside any class) public static let kForceClose = Notification.Name("forceClose") In viewDidLoad of the NSWindowController: NotificationCenter.default.addObserver(self, selector: #selector(closeIt(_:)), name: .kClose, object: nil) @objc func forceClose(_ sender: Notification) { self.window?.close() } Send notification in Button IBAction NotificationCenter.default.post(name: .kForceClose, object: self)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Applying Custom Rounded Corners to a macOS Window
This should give a solution: https://stackoverflow.com/questions/42762856/nswindow-with-round-corners-in-swift let effect = NSVisualEffectView(frame: NSRect(x: 0, y: 0, width: 0, height: 0)) effect.blendingMode = .behindWindow effect.state = .active effect.material = .dark effect.wantsLayer = true effect.layer?.cornerRadius = 15.0 window.contentView = effect window.titlebarAppearsTransparent = true window.titleVisibility = .hidden window.isOpaque = false window.backgroundColor = .clear Does it ?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Task, onAppear, onDisappear modifiers run twice
I could not test on iOS 17 (my sample project crashes Xcode 15.3). Do you confirm it works there ? I see the same on iOS 18: DetailView initialized DetailView appeared DetailView task executed -->> button tapped DetailView disappeared DetailView appeared DetailView disappeared DetailView task executed This discussion may be interesting to read, even it did not let me understand what happens: https://fatbobman.com/en/posts/mastering_swiftui_task_modifier/
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’24
Reply to Appstore Reject my crypto decentralized wallet app.
Crypto apps are very closely monitored on Appstore. So, you have to check every third party for evidence of evidence of "permissions, registrations, and/or licenses to distribute an app with exchange services." That may be pretty hard to get.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Rejection from App Store Review
Welcome to the forum. There are multiple reasons for spam rejection. your app is too similar to another app or shares a lot of similar code with another app your app belongs to a category which is over crowded and thus rejected unless it has very specific and valuable features Could you show the complete rejection message and tell which category your app is ?
Replies
Boosts
Views
Activity
Oct ’24
Reply to Is Xcode 16 a battery drainer?
How long is it since you installed Xcode ? Xcode may still be doing some tasks in the background to completely set up the environment. That mays last a couple of days.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Toolbar buttons in HStack merge with menu when .buttonStyle(…) is set
Reproduced the problem. All buttons are put behind the first in the HStack. Removing buttonStyle on the last button (whatever style) .buttonStyle(.borderedProminent) solves the problem. Or removing the menu also solves. Removing the Stack does NOT solve. So, HStack is not the problem. Bizarre. This fails as well. No Menu, one button without style ToolbarItem(placement: .bottomBar) { HStack { Button {} label: { Label("Foo", systemImage: "square") } .buttonStyle(.bordered) Button {} label: { Label("Bar", systemImage: "circle") } // .buttonStyle(.borderless) // Menu { // Button {} label: { Label("One", systemImage: "figure.arms.open") } // Button {} label: { Label("Two", systemImage: "figure.2.arms.open") } // } label: { Label("Baz", systemImage: "star") } Button {} label: { Label("Quux", systemImage: "triangle") } .buttonStyle(.borderedProminent) // Causes buttons to stack on one another } Restoring the style for the circle makes it work. So issue seems to be when one item has no style (which is the case of Menu) But if we remove style of a second item, it works. => Problem when 2 items in the toolbar have style and some other has not…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Guideline 5.2.3 - Legal - Intellectual Property - Audio/Video Downloading
Guideline is very clear: 5.2.3 Audio/Video Downloading: Apps should not facilitate illegal file sharing or include the ability to save, convert, or download media from third-party sources (e.g. Apple Music, YouTube, SoundCloud, Vimeo, etc.) without explicit authorization from those sources. Streaming of audio/video content may also violate Terms of Use, so be sure to check before your app accesses those services. Authorization must be provided upon request. For you to solve, you have to get the explicit authorisation from the platforms. Some apps also offer similar features. So, how were these apps published? Do you know if they got such authorisation ? In any case, the fact that other app with similar feature has passed the review, in compliance with guidelines or not, is never an argument. And those apps, if not in compliance, may be rejected at a future review.
Replies
Boosts
Views
Activity
Oct ’24