Posts

Post not yet marked as solved
0 Replies
452 Views
Hi folks, May I ask what is the proper way to add # character at the end of the tel schema when I try to make a phone call from my app? The code I have shared has worked for some devices and has not worked for some other devices. I'm wondering if we can use # character at the end of the phone call. it looks from Apple documentation, we can't, but when we added # character at the end of phone call it works, but not for all of our users. May I know why, and how to resolve the issue and make it works? UIApplication.shared.open(URL(string: "tel://123456789,,,1234#")!, options: [:]) { result in   if result {     print("The open URL is succeed")   } else {     print("The open URL is failed")   } }
Posted
by Faisal.
Last updated
.
Post marked as solved
2 Replies
628 Views
Hi, I got this error when I try run the CreatingAPhotogrammetryCommandLineApp Sample code " Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)"). I haved taken pictures from the iOS app sample, then I have exported the photos folder from my iPhone 12 Pro to the Mac. After that I have added the photos folder into the app and assigned the photos folder into inputFolder variable, but It seems I have missed a step, and that caused the error.
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
2 Replies
2.7k Views
Error Domain=render service Code=12 "Rendering service was interrupted" UserInfo={NSLocalizedDescription=Rendering service was interrupted}Also, I use the MacOS Catalina beta 4
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
3 Replies
940 Views
Hello Enginners,I'm still looking for a way that would make Localization much easier for developers in Xcode. The current implementation is more complex, and it creates many ways to duplicate keys and to have runtime issues. Avoiding magic keys is one of the best practices that we can have.Proposal:Localizable. string en "HelloWorld" = "Hello World" "NumberOfRooms" = "Number of Rooms are %d"Once the user writes into localizable string file. Xcode automatically will generate a struct file to be used in the project. So, a developer can use it in this wayLocalizable.HelloWorld // print Hello World in en Localizable.NumberOfRooms(value: 5) // print Number of Rooms are 5 in enThis practice will avoid magic keys in the source code. Also, it will push the developer to remove duplicate keys, and we can make sure one hundered percent developer hits the right key in the localizable file.Best Regards,Faisal
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
I've seen multiple sessions for SwiftUI, but, unfortunately, not all the sessions have shared their samples code yet. Are we expecting to get it soon? And where I can find them?
Posted
by Faisal.
Last updated
.