Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Pencil "Touches" on Catalyst are interrupted with modifier
I'm working on a catalyst video editor and I'm using my wacom graphic tablet to work. The wacom input gets translated into a pencil touch. Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures. The mouse (indirectPointer touch) doesn't exhibit this kind of behavior. Is this expected behavior? If so is there a way to opt out? Any way to prevent this? This basically makes the typical transform gestures impossible to do when using the graphic tablet.
2
0
100
Jun ’25
Reply to Updated HTML and Javascript in HTML
I suggest you try material design for buttons and menu, like this... input { height: 48px; width: 280px; border: 1px solid #c0c0c0; border-radius: 4px; box-sizing: border-box; padding: 16px; } .label { position: absolute; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; pointer-events: none; } input, .label .text { font-family: 'Segoe UI'; font-size: 16px; } .label .text { transition: all 0.15s ease-out; color: grey; } input:focus { outline: none; border: 2px solid blue; } input:focus + .label .text, :not(input[value=]) + .label .text { font-size: 12px; transform: translate(0, -150%); background-color: white; padding-left: 4px; padding-right: 4px; } input:focus + .label .text { color: blue; } const input = document.getElementById('fname'); input.addEventListener('input', () => { input.setAttribute('value', input.value); }); Btn1 Button .pure-material-button-contained { position: relative; display: inline-block; box-sizing: border-box; border: none; border-radius: 4px; padding: 0
Topic: Safari & Web SubTopic: General Tags:
Jun ’25
What is the URL Scheme of Native Apple Translation app?
I'm the IT Admin in my company. We use Microsoft Intune, which is a Mobile Device Management tool, to manage our devices and apps. I created an app protection policy, restricting the data can only be shared between the allowed apps. For example, if our user want to copy the content in Outlook for iOS to WeChat or personal memo, the action will be blocked. However, may be it's too strict, here is the scenario that we need to hadle: A user selected the content in the Outlook for iOS mail, and wanted to use the translate function to do translation. Before the app protection policy was deployed, he can do the translation successfully. And now, it's blocked. Therefore, we need to find a way to exempt the app Translate so that users can do the translation successfully. We put the value com.apple.Translate(this is a package ID listed in the official document of Apple) to the exemption, but it's not working. May I know what is the correct value for the iOS native Translate
0
0
115
Jun ’25
Does Xcode still support capturing GPU workload for OpenGLES game app on iOS?
As far as I know, there was a time that you can capture GPU workload for opengles game app on iOS using Xcode. However, currently I'm using Xcode version 15.2 and iOS18,it seems the capture GPU workload button is always disabled when I'm trying to debug my game app which is using opengles api for graphics rendering no matter switchinng GPU Frame Capture to OpenGL ES or Metal or Automatically in the scheme. And I'm not able to capture GPU workload for my game on iOS. The only way to make the capture GPU workload button enabled is creating a new project using metal api for graphics rendering. But I don't want to change the graphics API, because it will cause a lot. Does Xcode still support capturing GPU workload for OpenGLES game app on iOS? If not, is there an alternative way?
0
0
102
Jun ’25
Reply to How to get a 2D floor plan with dimensions from RoomPlan
@dev24984 I do have same issue. floor.walls are not in same order, and there are inner walls. floor.polygonCorners is not oriented the same way (transform.eulerAngles.z and .y is 0) I attempted algoritm to calculate the distance of each wall, and between each polygonCorners , to try to match them If I find the matching wall, I get the angle to apply. I still use the floor.transform.position to position the floor correctly. -> distances are not exactly the same, so I have to do several pass to find the matching wall, with a difference increasing (0.01) -> it works as along as the walls are not identical else orientation can be 180 degres wrong and sometimes it fail entirely (round room) So unsure this is the way, unless I attempt to match inner walls as well. Else another idea could be to figure out the outer walls of the rooms, gather each translated end point, and make a surface out of it. if only apple has properly filled its transform for the floor :(
Topic: Graphics & Games SubTopic: SceneKit Tags:
Jun ’25
Failed to open URL asynchronously
I have a problem with the URL schemes under iOS 18. Data is being sent from one app to another app. The amount of data varies. It can sometimes be more than 5 MB. With iOS 18, errors often occur when sending large amounts of data. The error message is: Failed to open URL asynchronously. If I send the data once again in this case, it works. To reproduce the error quickly, I wrote two small apps. AppA sends data to AppB. AppB calls AppA and AppA sends data to AppB again. The whole thing runs in an endless loop. Code snippet: // AppA // The file to which fileUrl points contains a 4 MB string. // The string consists of only one letter “AAAAAA....” let dataStr = try String(contentsOf: fileUrl, encoding: .utf8) if let url = URL(string: appb://receive?data=(dataStr)) { UIApplication.shared.open(url, options: [:]) { (result) in if !result { os_log(can't open url, type: .error) } } } // AppB DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { if let returnUrl = URL(string: appa://return) { UIApplication.s
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
230
Jun ’25
Trouble Distributing iOS + WatchOS App as a Bundle (Info.plist / Target Confusion)
Hi all, I’m running into an issue with my iOS + Apple Watch app project, and I could really use some advice. My WatchOS app requires an iOS companion for settings and configuration, so both apps need to be distributed together. Here’s how I structured my Xcode project: Main iOS App target WatchOS App target WatchOS Extension target However, I’m very confused about how these targets interact, and things are not working as expected. The problem: I can build and run the WatchOS app and its extension independently in the simulator by selecting their schemes. When I select the main iOS app scheme, I get an error about ITSWatchOnlyContainer in the Info.plist—even though there’s no Info tab for that target in Xcode. I’m able to distribute the WatchOS app by itself, and the extension as well. But I can’t distribute them bundled together as a single package, and I haven’t found any clear resources that explain how to fix this. This is my very first app, and it’s frustrating to get stuck just before t
0
0
125
Jun ’25
Reply to Use Java codebase with multiplatform SwiftUI app
Is there a way to package the Java code to work on iOS and mani macOS without having to complicate the project to the point where it would be easier to rewrite the Java code in Swift and have to work harder to update the app on each platform separately? No, there is not. Perhaps this would be an opportunity to try an AI solution to translate from Java to Swift.
Jun ’25
Reply to Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Proposal: Unify Native Utility Apps into One Modular, AI-Enhanced App – Apple Assist Hello Apple Developer Community, I’m an independent developer and researcher, and I’d like to share a proposal that could enhance usability, accessibility, and UI/UX cohesion across iOS, iPadOS, and watchOS. 🎯 Core Idea Unify Apple’s native utility apps into a single modular and intelligent experience, provisionally titled Apple Assist. This includes: Calculator Compass Voice Memos Magnifier Measure Weather Translate Apple News 💡 Why Apple Assist? Today, these apps are distributed separately and accessed individually. While functional, this segmentation may be unintuitive for multitasking, accessibility workflows, and contextual usage. Apple Assist would act as a central hub, using a modular interface powered by Apple Intelligence, allowing: Seamless access to key tools in a single space Smart suggestions based on time, location, or context (e.g., auto-open Magnifier in low light) Enhanced accessibility for elderly
Jun ’25
Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Hello Apple Developer Community, I'd like to propose a system-wide enhancement for future versions of iOS: the integration of native utility apps — Calculator, Compass, Voice Memos, Magnifier, Measure, Weather, and Translate — into a single unified app, tentatively called Apple Assist. The vision is to provide: A modular interface where users can enable/disable tools as needed. Smarter workflows with proactive suggestions based on context (time, location, task). AI-powered interaction through voice and Apple Intelligence (Advanced Siri). Benefits: Reduces icon clutter on the Home Screen. Simplifies the user experience with a single access point. Creates opportunities for automation and accessibility. Imagine saying: “Hey Siri, record a quick note and measure the table” — and the app smartly loads those modules on demand. Would love to hear feedback from the community — and whether Apple might consider something in this direction for iOS 19 or beyond. Best regards, Jose Luiz Horta Barbosa Maurity Cruz
3
0
104
Jun ’25
Reply to Xcode 16.4 iOS 18.5 simulator crashes for Apps requiring webkit
For me the option 2 is not working (and option 1 is not really an option as we need to support older iOS versions). I followed the instructions, added the DYLD_FALLBACK_LIBRARY_PATH argument to the Run configuration of my scheme like this: DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/usr/lib/swift But the app still crashed, and when it logs the dyld config, it prints this: DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/ So it seems my value for DYLD_FALLBACK_LIBRARY_PATH is just ignored. I checked it a thousand times and don't understand what I'm doing wrong. Is this working for other people too? Edit Found the solution, see comments if you run into the same problem.
Jun ’25
Reply to How I can localize an array ?
Hello, You are right that LocalizedStringResource is the preferred way to pass around a localized string. In your Array example, it really depends on where you intend to use the array. For example, making the type an Array of LocalizedStringResource is valid and each string would get extracted to the String Catalog. However, this may impact the way you use the string in your SwiftUI code. If these are static options, an alternative could be to use an enum: enum Gender: Hashable, Identifiable, CaseIterable { case male case female case notDisclosed var displayName: LocalizedStringResource { switch self { case .male: Male … } } } … Picker(Gender, selection: $selectedGender) { ForEach(Gender.allCases) { gender in Text(gender.displayName) } } OR it may be that you have a dynamic list that the user is able to change, and these are just the default options. If that is the case, it may be easier to simply use String(localized:), which returns a plain String that is pre-localized. For example: @State private var gende
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to Xcode 16.4 iOS 18.5 simulator crashes for Apps requiring webkit
This issue is tracked in WebKit's bug tracker: https://bugs.webkit.org/show_bug.cgi?id=293831 Copying two workarounds listed there: At this time, there are some workarounds that developers can use for testing and debugging in iOS 18.5 simulator: Option 1: Change your app's deployment target to iOS 18.4 or later. Set IPHONEOS_DEPLOYMENT_TARGET = 18.4 in build settings, or use Xcode's UI: Select the app's target in a xcodeproj file, then go to General > Minimum Deployments > iOS and set it to 18.4. Rebuild the app. Option 2: Set DYLD_FALLBACK_LIBRARY_PATH in the app's run action. This will allow you to test in iOS 18.5 simulator while continuing to deploy to older OS versions. Find the simulator runtime's path using xcrun simctl list runtimes -v. It will be a path like /Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime. Add Contents/Resources/RuntimeRoot/System/Cryptexes/OS/usr/lib/swift to this path. In Xcode, navigate to the launch ar
Jun ’25
Reply to Pencil "Touches" on Catalyst are interrupted with modifier
wacom input gets translated into a pencil touch. Expected Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures Not Expected. Please file a Feedback report on that. is there a way to opt out? Any way to prevent this? No
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Pencil "Touches" on Catalyst are interrupted with modifier
I'm working on a catalyst video editor and I'm using my wacom graphic tablet to work. The wacom input gets translated into a pencil touch. Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures. The mouse (indirectPointer touch) doesn't exhibit this kind of behavior. Is this expected behavior? If so is there a way to opt out? Any way to prevent this? This basically makes the typical transform gestures impossible to do when using the graphic tablet.
Replies
2
Boosts
0
Views
100
Activity
Jun ’25
Reply to Realitykit asset loading
In case my message was not very clear, the issues occur when I run the app on the Vision Pro in Debug. In that case the app takes 50 seconds to load ressources versus 2 when I uncheck Debug executable in the scheme.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Updated HTML and Javascript in HTML
I suggest you try material design for buttons and menu, like this... input { height: 48px; width: 280px; border: 1px solid #c0c0c0; border-radius: 4px; box-sizing: border-box; padding: 16px; } .label { position: absolute; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; pointer-events: none; } input, .label .text { font-family: 'Segoe UI'; font-size: 16px; } .label .text { transition: all 0.15s ease-out; color: grey; } input:focus { outline: none; border: 2px solid blue; } input:focus + .label .text, :not(input[value=]) + .label .text { font-size: 12px; transform: translate(0, -150%); background-color: white; padding-left: 4px; padding-right: 4px; } input:focus + .label .text { color: blue; } const input = document.getElementById('fname'); input.addEventListener('input', () => { input.setAttribute('value', input.value); }); Btn1 Button .pure-material-button-contained { position: relative; display: inline-block; box-sizing: border-box; border: none; border-radius: 4px; padding: 0
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
What is the URL Scheme of Native Apple Translation app?
I'm the IT Admin in my company. We use Microsoft Intune, which is a Mobile Device Management tool, to manage our devices and apps. I created an app protection policy, restricting the data can only be shared between the allowed apps. For example, if our user want to copy the content in Outlook for iOS to WeChat or personal memo, the action will be blocked. However, may be it's too strict, here is the scenario that we need to hadle: A user selected the content in the Outlook for iOS mail, and wanted to use the translate function to do translation. Before the app protection policy was deployed, he can do the translation successfully. And now, it's blocked. Therefore, we need to find a way to exempt the app Translate so that users can do the translation successfully. We put the value com.apple.Translate(this is a package ID listed in the official document of Apple) to the exemption, but it's not working. May I know what is the correct value for the iOS native Translate
Replies
0
Boosts
0
Views
115
Activity
Jun ’25
Does Xcode still support capturing GPU workload for OpenGLES game app on iOS?
As far as I know, there was a time that you can capture GPU workload for opengles game app on iOS using Xcode. However, currently I'm using Xcode version 15.2 and iOS18,it seems the capture GPU workload button is always disabled when I'm trying to debug my game app which is using opengles api for graphics rendering no matter switchinng GPU Frame Capture to OpenGL ES or Metal or Automatically in the scheme. And I'm not able to capture GPU workload for my game on iOS. The only way to make the capture GPU workload button enabled is creating a new project using metal api for graphics rendering. But I don't want to change the graphics API, because it will cause a lot. Does Xcode still support capturing GPU workload for OpenGLES game app on iOS? If not, is there an alternative way?
Replies
0
Boosts
0
Views
102
Activity
Jun ’25
Reply to How to get a 2D floor plan with dimensions from RoomPlan
@dev24984 I do have same issue. floor.walls are not in same order, and there are inner walls. floor.polygonCorners is not oriented the same way (transform.eulerAngles.z and .y is 0) I attempted algoritm to calculate the distance of each wall, and between each polygonCorners , to try to match them If I find the matching wall, I get the angle to apply. I still use the floor.transform.position to position the floor correctly. -> distances are not exactly the same, so I have to do several pass to find the matching wall, with a difference increasing (0.01) -> it works as along as the walls are not identical else orientation can be 180 degres wrong and sometimes it fail entirely (round room) So unsure this is the way, unless I attempt to match inner walls as well. Else another idea could be to figure out the outer walls of the rooms, gather each translated end point, and make a surface out of it. if only apple has properly filled its transform for the floor :(
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Failed to open URL asynchronously
I have a problem with the URL schemes under iOS 18. Data is being sent from one app to another app. The amount of data varies. It can sometimes be more than 5 MB. With iOS 18, errors often occur when sending large amounts of data. The error message is: Failed to open URL asynchronously. If I send the data once again in this case, it works. To reproduce the error quickly, I wrote two small apps. AppA sends data to AppB. AppB calls AppA and AppA sends data to AppB again. The whole thing runs in an endless loop. Code snippet: // AppA // The file to which fileUrl points contains a 4 MB string. // The string consists of only one letter “AAAAAA....” let dataStr = try String(contentsOf: fileUrl, encoding: .utf8) if let url = URL(string: appb://receive?data=(dataStr)) { UIApplication.shared.open(url, options: [:]) { (result) in if !result { os_log(can't open url, type: .error) } } } // AppB DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { if let returnUrl = URL(string: appa://return) { UIApplication.s
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
3
Boosts
0
Views
230
Activity
Jun ’25
Trouble Distributing iOS + WatchOS App as a Bundle (Info.plist / Target Confusion)
Hi all, I’m running into an issue with my iOS + Apple Watch app project, and I could really use some advice. My WatchOS app requires an iOS companion for settings and configuration, so both apps need to be distributed together. Here’s how I structured my Xcode project: Main iOS App target WatchOS App target WatchOS Extension target However, I’m very confused about how these targets interact, and things are not working as expected. The problem: I can build and run the WatchOS app and its extension independently in the simulator by selecting their schemes. When I select the main iOS app scheme, I get an error about ITSWatchOnlyContainer in the Info.plist—even though there’s no Info tab for that target in Xcode. I’m able to distribute the WatchOS app by itself, and the extension as well. But I can’t distribute them bundled together as a single package, and I haven’t found any clear resources that explain how to fix this. This is my very first app, and it’s frustrating to get stuck just before t
Replies
0
Boosts
0
Views
125
Activity
Jun ’25
Reply to Use Java codebase with multiplatform SwiftUI app
Is there a way to package the Java code to work on iOS and mani macOS without having to complicate the project to the point where it would be easier to rewrite the Java code in Swift and have to work harder to update the app on each platform separately? No, there is not. Perhaps this would be an opportunity to try an AI solution to translate from Java to Swift.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Proposal: Unify Native Utility Apps into One Modular, AI-Enhanced App – Apple Assist Hello Apple Developer Community, I’m an independent developer and researcher, and I’d like to share a proposal that could enhance usability, accessibility, and UI/UX cohesion across iOS, iPadOS, and watchOS. 🎯 Core Idea Unify Apple’s native utility apps into a single modular and intelligent experience, provisionally titled Apple Assist. This includes: Calculator Compass Voice Memos Magnifier Measure Weather Translate Apple News 💡 Why Apple Assist? Today, these apps are distributed separately and accessed individually. While functional, this segmentation may be unintuitive for multitasking, accessibility workflows, and contextual usage. Apple Assist would act as a central hub, using a modular interface powered by Apple Intelligence, allowing: Seamless access to key tools in a single space Smart suggestions based on time, location, or context (e.g., auto-open Magnifier in low light) Enhanced accessibility for elderly
Replies
Boosts
Views
Activity
Jun ’25
Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Hello Apple Developer Community, I'd like to propose a system-wide enhancement for future versions of iOS: the integration of native utility apps — Calculator, Compass, Voice Memos, Magnifier, Measure, Weather, and Translate — into a single unified app, tentatively called Apple Assist. The vision is to provide: A modular interface where users can enable/disable tools as needed. Smarter workflows with proactive suggestions based on context (time, location, task). AI-powered interaction through voice and Apple Intelligence (Advanced Siri). Benefits: Reduces icon clutter on the Home Screen. Simplifies the user experience with a single access point. Creates opportunities for automation and accessibility. Imagine saying: “Hey Siri, record a quick note and measure the table” — and the app smartly loads those modules on demand. Would love to hear feedback from the community — and whether Apple might consider something in this direction for iOS 19 or beyond. Best regards, Jose Luiz Horta Barbosa Maurity Cruz
Replies
3
Boosts
0
Views
104
Activity
Jun ’25
Reply to Xcode 16.4 iOS 18.5 simulator crashes for Apps requiring webkit
For me the option 2 is not working (and option 1 is not really an option as we need to support older iOS versions). I followed the instructions, added the DYLD_FALLBACK_LIBRARY_PATH argument to the Run configuration of my scheme like this: DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/usr/lib/swift But the app still crashed, and when it logs the dyld config, it prints this: DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/ So it seems my value for DYLD_FALLBACK_LIBRARY_PATH is just ignored. I checked it a thousand times and don't understand what I'm doing wrong. Is this working for other people too? Edit Found the solution, see comments if you run into the same problem.
Replies
Boosts
Views
Activity
Jun ’25
Reply to How I can localize an array ?
Hello, You are right that LocalizedStringResource is the preferred way to pass around a localized string. In your Array example, it really depends on where you intend to use the array. For example, making the type an Array of LocalizedStringResource is valid and each string would get extracted to the String Catalog. However, this may impact the way you use the string in your SwiftUI code. If these are static options, an alternative could be to use an enum: enum Gender: Hashable, Identifiable, CaseIterable { case male case female case notDisclosed var displayName: LocalizedStringResource { switch self { case .male: Male … } } } … Picker(Gender, selection: $selectedGender) { ForEach(Gender.allCases) { gender in Text(gender.displayName) } } OR it may be that you have a dynamic list that the user is able to change, and these are just the default options. If that is the case, it may be easier to simply use String(localized:), which returns a plain String that is pre-localized. For example: @State private var gende
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode 16.4 iOS 18.5 simulator crashes for Apps requiring webkit
This issue is tracked in WebKit's bug tracker: https://bugs.webkit.org/show_bug.cgi?id=293831 Copying two workarounds listed there: At this time, there are some workarounds that developers can use for testing and debugging in iOS 18.5 simulator: Option 1: Change your app's deployment target to iOS 18.4 or later. Set IPHONEOS_DEPLOYMENT_TARGET = 18.4 in build settings, or use Xcode's UI: Select the app's target in a xcodeproj file, then go to General > Minimum Deployments > iOS and set it to 18.4. Rebuild the app. Option 2: Set DYLD_FALLBACK_LIBRARY_PATH in the app's run action. This will allow you to test in iOS 18.5 simulator while continuing to deploy to older OS versions. Find the simulator runtime's path using xcrun simctl list runtimes -v. It will be a path like /Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime. Add Contents/Resources/RuntimeRoot/System/Cryptexes/OS/usr/lib/swift to this path. In Xcode, navigate to the launch ar
Replies
Boosts
Views
Activity
Jun ’25