Post

Replies

Boosts

Views

Activity

Reply to RotateGesture3D auto constrained to axis
Hi, First of all thank you for taking the time to answer me it is very much appreciated. Thanks for the suggestion I will try to see that. For my part I also thought to create a custom gesture that would allow to identify with certainty on which axis the user wants to go. Another possibility would be to do as when we are in Reality Composer Pro and to display the axes on the object to allow the user to select the axis he wants. But I don't really know how to do that. I looked for examples but couldn't find any. For feedbackassistant I have used it in the past and never had any feedback. So I doubt it is really very useful. Regards Tof
Topic: Spatial Computing SubTopic: General Tags:
Jan ’25
Reply to visionOS - Positioning and sizing windows
Good news to resize a window! With Xcode 15 Beta 5 no need to use a trick to resize a window just specify .defaultSize(CGSize(width: 400, height: 400)) TestApp.swift import SwiftUI @main struct TestApp: App { var body: some Scene { WindowGroup { MainView() } .defaultSize(CGSize(width: 400, height: 400)) } } MainView.swift import SwiftUI struct MainView: View { var body: some View { VStack { Text("MainView") .font(.largeTitle) } } } Screenshot Changing the position of a window With Xcode 15 Beta 5 this is not yet supported
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to visionOS - Positioning and sizing windows
One of the big advantages of visionOS is that we are not limited by the use of a physical screen as is the case with an iPhone, an iPad or a Mac. Concretely, this means that we can have an application that must be able to put windows where we wants in the visual space of the user. For example, I invite you to look at the models made by Nicolas Backal (https://www.linkedin.com/in/nicolasbackal/recent-activity/all). Its models are really very interesting and show the potential that the Apple Vision Pro can offer in terms of interface design. This kind of design can only be possible if the application has control over the windows it creates, which does not currently seem to be the case. Screenshot1 Screenshot2
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to Xcode error : "You do not have required role to perform an operation" with an Admin account
I found the source of the problem. I manage several applications for different clients and for these applications I use my company's Apple ID. I also have a personal Apple ID for more convenience I use this account as a test account for my applications. In Xcode my company's Apple ID is registered for client apps and my personal Apple ID is also registered for my personal projects. Following a problem with a customer account, I deleted and restored my Apple ID accounts in Xcode by registering my personal Apple ID first and then my professional Apple ID. And that's where I had the problem because when I try to send a new version of a client application to TestFlight, I get the message "You do not have required role to perform an operation" Concretely, Xcode takes my personal Apple ID account, which is not a developer, for client projects instead of taking my professional Apple ID, which is admin on client environments. Xcode doesn't seem to select the correct account for uploading to TestFlight. The solution was to remove the Apple ID accounts from Xcode and then add the professional Apple ID account first and then the personal Apple ID account.
May ’23
Reply to RotateGesture3D auto constrained to axis
Hi, First of all thank you for taking the time to answer me it is very much appreciated. Thanks for the suggestion I will try to see that. For my part I also thought to create a custom gesture that would allow to identify with certainty on which axis the user wants to go. Another possibility would be to do as when we are in Reality Composer Pro and to display the axes on the object to allow the user to select the axis he wants. But I don't really know how to do that. I looked for examples but couldn't find any. For feedbackassistant I have used it in the past and never had any feedback. So I doubt it is really very useful. Regards Tof
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Detecting Gaze/Look on Entity in RealityKit on visionOS
I am in the same case. When a user looks at an entity I would like to be able to enrich the entity and display other entities, for example display actions that the user can do on the entity he is looking at.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to How to convert `DragGesture().onEnded`'s velocity CGSize to the SIMD3<Float> required in `PhysicsMotionComponent(linearVelocity, angularVelocity)`?
@mesqueeb I have a similar problem. Did you find a way to do it?
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to WKWebView evaluateJavascript method crash with async/await when javascript call doesn't have return value
Still crashing on Xcode 16.2 with iOS 18.2, macOS 15.2 and visionOS 2.2
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to iOS 17 - TextField color does not changes with state is updated
Tested with iOS 17.5 still exists
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Why is VisionOS Barcode Scanning an Enterprise API?
Same here. I dont understand the rational for this api to be so restricted.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to iOS17 UITextView inputView becomFirstResponder does not work
+1, I'm having the same issue with iOS 17, Xcode 15.0.1, SwiftUI and TextField Work fine with iOS 16
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to visionOS - Positioning and sizing windows
Good news to resize a window! With Xcode 15 Beta 5 no need to use a trick to resize a window just specify .defaultSize(CGSize(width: 400, height: 400)) TestApp.swift import SwiftUI @main struct TestApp: App { var body: some Scene { WindowGroup { MainView() } .defaultSize(CGSize(width: 400, height: 400)) } } MainView.swift import SwiftUI struct MainView: View { var body: some View { VStack { Text("MainView") .font(.largeTitle) } } } Screenshot Changing the position of a window With Xcode 15 Beta 5 this is not yet supported
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to visionOS - Positioning and sizing windows
Thank you all for your answers. 👍 😁
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to visionOS - Positioning and sizing windows
@J0hn it works perfectly to resize the window! 👍 😁 To position a window in the user's visual space do you have a trick to do that?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to visionOS - Positioning and sizing windows
One of the big advantages of visionOS is that we are not limited by the use of a physical screen as is the case with an iPhone, an iPad or a Mac. Concretely, this means that we can have an application that must be able to put windows where we wants in the visual space of the user. For example, I invite you to look at the models made by Nicolas Backal (https://www.linkedin.com/in/nicolasbackal/recent-activity/all). Its models are really very interesting and show the potential that the Apple Vision Pro can offer in terms of interface design. This kind of design can only be possible if the application has control over the windows it creates, which does not currently seem to be the case. Screenshot1 Screenshot2
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Recomended hardware requirements.
Work fine on Mac Book Pro M1 Max 64 Ram
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to VisionOS Set Default Window Size
Same error for me
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Xcode error : "You do not have required role to perform an operation" with an Admin account
I found the source of the problem. I manage several applications for different clients and for these applications I use my company's Apple ID. I also have a personal Apple ID for more convenience I use this account as a test account for my applications. In Xcode my company's Apple ID is registered for client apps and my personal Apple ID is also registered for my personal projects. Following a problem with a customer account, I deleted and restored my Apple ID accounts in Xcode by registering my personal Apple ID first and then my professional Apple ID. And that's where I had the problem because when I try to send a new version of a client application to TestFlight, I get the message "You do not have required role to perform an operation" Concretely, Xcode takes my personal Apple ID account, which is not a developer, for client projects instead of taking my professional Apple ID, which is admin on client environments. Xcode doesn't seem to select the correct account for uploading to TestFlight. The solution was to remove the Apple ID accounts from Xcode and then add the professional Apple ID account first and then the personal Apple ID account.
Replies
Boosts
Views
Activity
May ’23
Reply to AppStore Connect : Error Analyzing App Version
Same error here. I manage several applications. When I wanted to send new versions the 1st passed well, the 2nd made "Error Analyzing App Version" and after several retry passed but 2 others are stuck on this error.
Replies
Boosts
Views
Activity
May ’22