Post

Replies

Boosts

Views

Activity

Reply to where to apply "grounding shadow" in Reality Composer Pro?
Thanks to https://developer.apple.com/forums/thread/733918 (I tested this snippet in Vision Pro lab and it worked.) extension Entity { public func setGroundingShadow(_ castsShadow: Bool) { self.enumerateHierarchy { entity, stop in if entity is ModelEntity { entity.components.set(GroundingShadowComponent(castsShadow: castsShadow)) } } } private func enumerateHierarchy(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { var stop = false func enumerate(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { guard !stop else { return } body(self, &stop) for child in children { guard !stop else { break } child.enumerateHierarchy(body) } } enumerate(body) } }
Topic: Graphics & Games SubTopic: RealityKit Tags:
Sep ’23
Reply to Interactive Widget: unable to reload timeline from AppIntent
Useful link: https://github.com/feedback-assistant/reports/issues/359
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Incorrect compact Dynamic Island layout on iOS 17
FB13154996
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Interactive Widget: unable to reload timeline from AppIntent
Xcode 15 beta 8 + iOS 17 beta 8
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to is it possible to add dark mode to developer forums
FB13146906 ✋🏼✋🏼
Replies
Boosts
Views
Activity
Sep ’23
Reply to Failed to preview iOS app due to RealityKitContent.rkassets (should be linked only on visionOS)
@gchiste 😄 Thanks! You are fast. Which Xcode version are you using? I'm on Xcode 15.0 beta 8 (15A5229m) but I can workaround the issue by adding an empty line or removing the import statement.
Replies
Boosts
Views
Activity
Sep ’23
Reply to About Apple Vision Pro Developer Kit
I haven't heard any news about the developer kit at the moment. Really looking forward to getting one.
Replies
Boosts
Views
Activity
Sep ’23
Reply to where to apply "grounding shadow" in Reality Composer Pro?
Thanks to https://developer.apple.com/forums/thread/733918 (I tested this snippet in Vision Pro lab and it worked.) extension Entity { public func setGroundingShadow(_ castsShadow: Bool) { self.enumerateHierarchy { entity, stop in if entity is ModelEntity { entity.components.set(GroundingShadowComponent(castsShadow: castsShadow)) } } } private func enumerateHierarchy(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { var stop = false func enumerate(_ body: (Entity, UnsafeMutablePointer<Bool>) -> ()) { guard !stop else { return } body(self, &stop) for child in children { guard !stop else { break } child.enumerateHierarchy(body) } } enumerate(body) } }
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS 17 StandBy Mode Opt Out for Widgets?
I also want to ask this question. In addition, I want to opt out of the systemSmall lock screen widget on the iPad. It seems that as long as it is compiled through the iOS 17 SDK, the widget must adapt to all positions.
Replies
Boosts
Views
Activity
Aug ’23
Reply to SwiftUI Previews Not Working In Swift Packages (XCode 15 beta 6)
😐 Frustrated. SwiftUI Previews have never worked smoothly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Ornament Toolbar disappears
Same here. TabView { NavigationSplitView { ... // If you switch between different sub page, the tab bar ornament on the left disappear. 100% reproducible. } detail: { ... } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode 15 beta 6: is xrOS no longer considered as iOS?
Update: The worst case is not that the third-party library fails to compile on visionOS, but that it compiles successfully and behaves incorrectly.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode 15 beta 6: ld: warning: building for 'macCatalyst', but linking in dylib built
@eskimo Hi :) I can reproduce the warning by creating a new iOS project. Then enable Mac Catalyst and build. Screen recording: https://youtu.be/kJ3ayFV-Pns
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode 15 beta 6: ld: warning: building for 'macCatalyst', but linking in dylib built
FB12900696
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode 15 beta 5 error: Invalid Swift parseable output message (malformed JSON)
Xcode 15 beta 6 fixed the issue.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to AppShortcuts error: Command ValidateAppShortcutStringsMetadata emitted errors
Xcode 15 beta 6 fixed the bug.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23