Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Allow custom scheme for Redirect URI's
Currently trying to use `custom://oauth` as a redirect URI fails validation and is not allowed to be configured.For Android and Windows platforms, having a custom URI is super helpful to be able to redirect back to the app which initiated the authentication flow. Currently we have to use a WebView on Android instead of Custom Tabs because of this which is much less secure not as great of a user experience.Please allow us to specify a custom scheme for the Redirect URI.
3
0
4k
Jun ’19
Reply to Translation framework use in Swift 6
I have found two possible solutions : either (1) use @preconcurrency import Translation instead of just import Translation, and it works magically ; or (2) mark the translationTask closure as @Sendable, and detach to MainActor when needed : .translationTask(configuration) { @Sendable session in do { let responseText = try await session.translate(sourceText).targetText await MainActor.run { // ... propagate back to UI } } catch {} } I'm not sure which is the best solution: #1 is shorter and cleaner but I don't know how it handles concurrency behind the scenes, #2 is more tedious but the isolation path is more clear.
Topic: Machine Learning & AI SubTopic: General Tags:
Feb ’26
Reply to help me!
it's not really that, but I feel that we are approaching the solution.the code seems correct to me with one exception:when i select the name of the product like for example a cake in my pickerview, when i click on button i can see the recipe i wrote in my original viewController.I have many Product name to put in my pickerView,so many recipes to write in my textView.I know I have to use the if ... else conditions to write my recipes one by one but I don't know where the code is placed.ps: sorry I translate my questions on google translation, I hope it's understandableand yes i'm from Orly near Paris, you know that city?
Topic: Programming Languages SubTopic: Swift Tags:
May ’20
Referer not being sent by WKWebView when using a custom scheme
YouTube now requires a Referer to be sent to be able to embed Youtube videos, otherwise the videos won't work. But WKWebView doesn't send a Referer when using a custom scheme, so Youtube videos stopped working in that case. This affects Ionic apps, both using Cordova or Capacitor. There's an open issue for Cordova and another one for Capacitor. In these apps, the app is served using a custom scheme like capacitor://localhost or ionic://localhost. I tried modifying the Ionic WebView source code to force adding a referrer to the URL loaded using WKWebView's loadRequest: [request addValue:@https://my.test.app forHTTPHeaderField:@Referer]; [_engineWebView loadRequest:request] But the Referer is still not sent in the Requests, I guess because the app is using a custom scheme (e.g. capacitor://localhost). However, if I modify this code to force loading an online URL (using https) instead of capacitor://localhost, then the my.test.app Referer is sent to the requests. Is there any way to ma
Topic: Safari & Web SubTopic: General Tags:
0
0
171
Nov ’25
Reply to Siri
Thanks for the clarification. I suppose even the Localization Team didn't get the meaning of it. In German, it's translated by Funktionsbereich (Space of Function) - should be something more evident like fnSpace or fn␣.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’16
Allow custom scheme for Redirect URI's
Currently trying to use `custom://oauth` as a redirect URI fails validation and is not allowed to be configured.For Android and Windows platforms, having a custom URI is super helpful to be able to redirect back to the app which initiated the authentication flow. Currently we have to use a WebView on Android instead of Custom Tabs because of this which is much less secure not as great of a user experience.Please allow us to specify a custom scheme for the Redirect URI.
Replies
3
Boosts
0
Views
4k
Activity
Jun ’19
Is there a dark color scheme to the safari developer web inspector?
I am using chrome tools but i would love to go back to safari but I am hoping there is a dark scheme in settings somewhere.
Replies
1
Boosts
0
Views
676
Activity
Sep ’16
Reply to I have upgrade from xcode 7.3.2 to 8.3.2 now nothing work
Converting from 7.3 to 8.3 logically causes a lot of changes, and converter cannot translate everything.Have you a lot of errors in each code ? What type of error ?You will have to edit one by one.
Replies
Boosts
Views
Activity
May ’17
Reply to Translation in Safari Technology Preview 14
Webpage Translation is only available on macOS Big Sur, iOS 14 and iPadOS 14. It isn't available on macOS Catalina, even with the latest Safari Technology Preview.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to RealityKit add gestures and animations to Entity/ModelEntity
Unfortunately this doesn´t work for me 😟By setting arView.debugOptions = .showPhysics, the gestures (scale, rotate, translate) work only for the collision shape itself (parentEntity) and not for 'entity'!Thanks,
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Nov ’19
Reply to Strange chinese character next to the iPhone folder name and different format of images
Eversince i got the beta installed same thing happenig to me as well. The folders are all appended with a chinese character (爀) and it translates to effort not sure what is the context though
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Translation framework use in Swift 6
I have found two possible solutions : either (1) use @preconcurrency import Translation instead of just import Translation, and it works magically ; or (2) mark the translationTask closure as @Sendable, and detach to MainActor when needed : .translationTask(configuration) { @Sendable session in do { let responseText = try await session.translate(sourceText).targetText await MainActor.run { // ... propagate back to UI } } catch {} } I'm not sure which is the best solution: #1 is shorter and cleaner but I don't know how it handles concurrency behind the scenes, #2 is more tedious but the isolation path is more clear.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to help me!
it's not really that, but I feel that we are approaching the solution.the code seems correct to me with one exception:when i select the name of the product like for example a cake in my pickerview, when i click on button i can see the recipe i wrote in my original viewController.I have many Product name to put in my pickerView,so many recipes to write in my textView.I know I have to use the if ... else conditions to write my recipes one by one but I don't know where the code is placed.ps: sorry I translate my questions on google translation, I hope it's understandableand yes i'm from Orly near Paris, you know that city?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’20
Referer not being sent by WKWebView when using a custom scheme
YouTube now requires a Referer to be sent to be able to embed Youtube videos, otherwise the videos won't work. But WKWebView doesn't send a Referer when using a custom scheme, so Youtube videos stopped working in that case. This affects Ionic apps, both using Cordova or Capacitor. There's an open issue for Cordova and another one for Capacitor. In these apps, the app is served using a custom scheme like capacitor://localhost or ionic://localhost. I tried modifying the Ionic WebView source code to force adding a referrer to the URL loaded using WKWebView's loadRequest: [request addValue:@https://my.test.app forHTTPHeaderField:@Referer]; [_engineWebView loadRequest:request] But the Referer is still not sent in the Requests, I guess because the app is using a custom scheme (e.g. capacitor://localhost). However, if I modify this code to force loading an online URL (using https) instead of capacitor://localhost, then the my.test.app Referer is sent to the requests. Is there any way to ma
Topic: Safari & Web SubTopic: General Tags:
Replies
0
Boosts
0
Views
171
Activity
Nov ’25
Reply to How can I change the visibility of ornament with animation?
When showing ornament view by changing the flag in withAnimation, it shows weird movement (translate from somewhere upper left). When hiding, no animation. Apparently doing something but not correct movement.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Siri
Thanks for the clarification. I suppose even the Localization Team didn't get the meaning of it. In German, it's translated by Funktionsbereich (Space of Function) - should be something more evident like fnSpace or fn␣.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to Not able to localise NSLocalNetworkUsageDescription.
Hi Quinn, I just tested with iOS 14.2 Beta and can confirm, that the translated string for NSLocalNetworkUsageDescription (from InfoPlist.strings) is used in the system alert. Now it works like expected. Thanks, Andy
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to iOS 14 translate API
Guys, if you want to use Apple‘s on device translation API in the future, please file a bug report. If enough people file a bug, I‘m sure Apple will think about It.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to NSPanGestureRecognizer.LocationInView not accounting for Transform
The link article is for iOS. I tried to do the same for mac, but there are no UIView.Center and UIView.Translate properties on NSView, are they?I'm translating a NSView using the layer's affine transofrm.myView.wantsLayer = truemyView.layer?.transform = // The transformation
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Dec ’17
Reply to How to check call state except CallKit in China?
if ([vendor isEqualsToString:@zhong guo yi dong] || [vendor isEqualsToString:@zhong guo lian tong] || [vendor isEqualsToString:@zhong guo dian xin])translate the PinYin into Chinese
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jun ’18