Post

Replies

Boosts

Views

Activity

Reply to Can't get NavigationLinks to work with Menu control in iOS 14
NavigationLink needs to be within the NavigationView hierarchy so you’ll need to be a bit creative with this. Something like: struct YourView: View { @State private var isActive = false @State private var goTo = “” var body: some View { NavigationView { etc. } .background( NavigationLink(destination: Text(self.goTo), isActive: $isActive) { 										EmptyView() 								}) } } And then for the toolbar all you need to do is: .toolbar {          ToolbarItem(placement: .navigationBarLeading) {            Menu {          Button("Go to 1") { 										 self.goTo = "Destination 1" 										 self.isActive = true 								 } 								 Button("Go to 2") { 										 self.goTo = "Destination 2" 										 self.isActive = true 								 }         }            label: {             Label("Add", systemImage: "plus")           }         }		 } Can’t get the indentation right for your code, for some reason the editor doesn’t play nice, but I think you’ll be able to figure it out.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’21
Reply to My app iAccounts is gone.
Sounds like you’re having trouble with an app. This is the developer forum, meant for developers to help each other with questions regarding developing apps. Your question might be better fitted for the regular Apple forum, which you can find here. That said, you might have better luck contacting the developer of the app that’s causing issues or by contacting Apple support if you have issues with your Apple ID.
Jun ’21
Reply to Issues with tvOS 14.7 appears to have bricked my Apple TV
How do I resolve this There are a few options in order of difficulty: See if you can connect to it through Xcode/Configurator and restore back to 14.6 from there Trigger recovery mode (this will only erase and start 14.7 from scratch) by repeatedly unplugging and plugging power back in Contact support and explain the situation and that you’d like to revert back to 14.6 what caused it Could be anything, comes with the territory of dealing with betas.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Reply to Xamarin forms App tracking privacy policies
I'm not familiar with Xamarin so I'm not sure if you're talking about a Xamarin specific string needed in Info.plist or the general NSUserTrackingUsageDescription key. That said, you can use trackingAuthorizationStatus to check the current status and go from there. See information under 3 on this page. for more information.
Topic: Code Signing SubTopic: Entitlements Tags:
Jun ’21
Reply to Find My unable to connect to server
No issues here. Perhaps there’s an intermittent outage of the servers? That said, some additional things you can try are: Confirm it’s not your internet connection. Does this happen on WiFi, cellular, or both? See if it has to do with the new private relay service by disabling it (double check if the toggle under cellular is disabled as well when you disable it under iCloud) Check if you have similar issues on another device, and/or another device that runs a production version of iOS Ans of course, if the issue persist, file a bug report via Feedback Assistant.
Jun ’21
Reply to Is iOS14.5 ATT prompt enforcement device agnostic ?
From the FAQ on this page: If a user provides permission for tracking via a separate process on our website, but declines permission in the app tracking transparency prompt, can I track that user across apps and websites owned by other companies? Developers must get permission via the app tracking transparency prompt for data that’s collected in the app and used for tracking. Data collected separately, outside of the app and not related to the app, is not in scope. That said, there’s also this: If tracking occurs within a webview inside an app, do I need to use the AppTrackingTransparency prompt? Yes. If you are using a webview for app functionality, it should be treated the same way as native functionality in your app, unless you are enabling the user to navigate the open web.
Topic: Privacy & Security SubTopic: General Tags:
Jun ’21
Reply to Can't get NavigationLinks to work with Menu control in iOS 14
NavigationLink needs to be within the NavigationView hierarchy so you’ll need to be a bit creative with this. Something like: struct YourView: View { @State private var isActive = false @State private var goTo = “” var body: some View { NavigationView { etc. } .background( NavigationLink(destination: Text(self.goTo), isActive: $isActive) { 										EmptyView() 								}) } } And then for the toolbar all you need to do is: .toolbar {          ToolbarItem(placement: .navigationBarLeading) {            Menu {          Button("Go to 1") { 										 self.goTo = "Destination 1" 										 self.isActive = true 								 } 								 Button("Go to 2") { 										 self.goTo = "Destination 2" 										 self.isActive = true 								 }         }            label: {             Label("Add", systemImage: "plus")           }         }		 } Can’t get the indentation right for your code, for some reason the editor doesn’t play nice, but I think you’ll be able to figure it out.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’21
Reply to Upgraded to Big Sur can't print
I think you might’ve ended up on the wrong forum. This forum is for developers that have issues or questions about app development. the forum you’re probably looking for is here - https://discussions.apple.com/welcome.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Apr ’21
Reply to My app iAccounts is gone.
Sounds like you’re having trouble with an app. This is the developer forum, meant for developers to help each other with questions regarding developing apps. Your question might be better fitted for the regular Apple forum, which you can find here. That said, you might have better luck contacting the developer of the app that’s causing issues or by contacting Apple support if you have issues with your Apple ID.
Replies
Boosts
Views
Activity
Jun ’21
Reply to I am not able to update Xcode in Catalina
Xcode 12.5 and up require Big Sur. The latest version of Xcode that is supported on Catalina is 12.4.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Issues with tvOS 14.7 appears to have bricked my Apple TV
How do I resolve this There are a few options in order of difficulty: See if you can connect to it through Xcode/Configurator and restore back to 14.6 from there Trigger recovery mode (this will only erase and start 14.7 from scratch) by repeatedly unplugging and plugging power back in Contact support and explain the situation and that you’d like to revert back to 14.6 what caused it Could be anything, comes with the territory of dealing with betas.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to When will iOS 15 be available?
The iOS 15 developer beta is now available for developers on the developer download page. The public beta will start a month from now and the actual release is announced to be in the fall, which typically coincides with the release of the new iPhone.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Swift playgrounds app build
Thus far it’s stated that it’s only SwiftUI and that the new playgrounds that supports this will be launched in the fall (as per SOTU).
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Will it be possible to add non-US documents to the new Wallet?
Seems like this is initially first rolled out in the US with a handful of states. Apple will need to confer with the different issuing agencies to ensure that the implementation is legally valid and wards off identity fraud.
Replies
Boosts
Views
Activity
Jun ’21
Reply to When will iOS 15 be available?
@Ngoctram_htn1 you'll probably have to rebuild/resign your enterprise apps in Xcode 13. It seems to be tied to this change.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Xamarin forms App tracking privacy policies
I'm not familiar with Xamarin so I'm not sure if you're talking about a Xamarin specific string needed in Info.plist or the general NSUserTrackingUsageDescription key. That said, you can use trackingAuthorizationStatus to check the current status and go from there. See information under 3 on this page. for more information.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Trouble debugging SwiftUI AttributeGraph crash logs
I've made a new post with some more info over here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Find My unable to connect to server
No issues here. Perhaps there’s an intermittent outage of the servers? That said, some additional things you can try are: Confirm it’s not your internet connection. Does this happen on WiFi, cellular, or both? See if it has to do with the new private relay service by disabling it (double check if the toggle under cellular is disabled as well when you disable it under iCloud) Check if you have similar issues on another device, and/or another device that runs a production version of iOS Ans of course, if the issue persist, file a bug report via Feedback Assistant.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Is iOS14.5 ATT prompt enforcement device agnostic ?
From the FAQ on this page: If a user provides permission for tracking via a separate process on our website, but declines permission in the app tracking transparency prompt, can I track that user across apps and websites owned by other companies? Developers must get permission via the app tracking transparency prompt for data that’s collected in the app and used for tracking. Data collected separately, outside of the app and not related to the app, is not in scope. That said, there’s also this: If tracking occurs within a webview inside an app, do I need to use the AppTrackingTransparency prompt? Yes. If you are using a webview for app functionality, it should be treated the same way as native functionality in your app, unless you are enabling the user to navigate the open web.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How do I read Apple Watch battery level in iPhone app without a companion Apple Watch app?
Are you sure it doesn't install its watchOS counterpart when you install that app from the App Store? It lists that it includes an Apple Watch counterpart?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to When mentioning a user on the dev forum, the url that is generated changes entire username to lowercase, breaking the hyperlink
@eskimo Thanks for the help Quinn! I've got two numbers for your convenience. FB9146093 for the actual username/url bug FB9146115 to further amplify the desire for a dedicated category, mentioning your rdar 78944587
Replies
Boosts
Views
Activity
Jun ’21