Today @forscore arrives on its fourth platform: visionOS! Redesigning the sheet music reading experience for Vision Pro was a really fun challenge and I'm very proud of where things ended up.
Thanks so much to everyone who helped me beta test it—I think this is the start of something really special and I'm glad you could be a part of it.
I wanted to try something different for the BitMaps icon. It's a bit like a loupe — the idea is that it’s magnifying a tiny map. I'd love if visionOS icons supported semi-transparent layers without shadows. That would allow me to put the map on a layer below the lens. #visionOS
BitMaps allows you to explore and arrange bite-size maps anywhere in your space. You can discover Look Around scenes on an infinite canvas, search nearby, view location information, and view your current location. Make as many maps as you’d like! #visionOS
#visionos friends, is it not possible to build something like Safari with two floating windows locked next to each other? (address bar window and viewport window)
I was pretty excited about #visionOS parallax icons, but there's two things that I would love to see fixed:
Right now the effect works great if you have flat layers, but if you provide a layer with shadows it's gonna cast a shadow on the shadow… and it's just not a good look 😅
I'm gonna assume this is a bug, but right now if you provide a layer that is not fully transparent at the edges, the system is going to cast a shadow on the opposite edge 🙃 #visionOS
I was curious to see how other devs were going around the issue, but it just seems like they aren't 🤐, I opened a Feedback (FB13636934) #visionOS cc: @settern@lindadong@stern
So I've got something a little more sophisticated I want to build with #VisionPro's 3D canvas, and the biggest hitch was figuring out how to snap an object to a detected plane.
Thanks to some REALLY complicated sample code from Apple, I built up a proof of concept that raycasts from the device's position and orientation and projects a dropzone onto detected planes
You can see it moving from the desk to the top of the encyclopedia here
My #VisionPro plane plopping code is at last working
Apple’s sample code was quite helpful, if also tightly coupled and baroque. This is a bit more generalized, and working with SwiftData
#visionOS has me right back to the beginner phase, though. I can't estimate time or project complexity for shit right now, this was much harder than I expected!
#VisionOS#DevTip Make sure to add some kind of image to tab bar items in your app. Plain text tabs will display an empty circle on the left of the app's window until the user hovers over the tab item.
I just worked for 10 minutes. and was able to convert much of my app PocketBraille to work on #VisionOS. There are some things that need to be fixed, but it looks awesome!
Just filed 9 radars to Apple after a long programming session, mostly reporting shortcomings in #visionOS 1. Hopefully some of these will be addressed in June with #visionOS2! 🤞
Time to sleep now – recharging to kick off another new Vision app tomorrow ! 🚀💤
There's one kinda ugly hack in the app right now that I'm really struggling to solve. If anyone knowledgable with #mapkit can help, I’d appreciate it. This problem appears to be #visionOS specific.
Updating state of a map can cause the entire app to freeze. In order to adjust settings, I need to destroy the Map() until the sheet disappears. I'm occasionally able to crash the app just by switching focus to a different window.
This is a problem in Facades as well, and the code works on iOS.
Xcode logs this warning: “+[UIView setAnimationsEnabled:] being called from a background thread. Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior.”
I can occasionally trigger this without calling any functions at all #mapkit#visionOS
I made a new app over the weekend, coming soon to an Apple Vision Pro App Store near you. Had a lot of fun with this and got to dust off some of my 3D skills in the process
In our #FebruaryMemberShoutout, we take a look on #VisionOS apps. Rarely have we had so many submissions as this month. It's great to see our community adapting new topics so quickly and creatively.
Any iOS devs know what happens with ARkit views in made-for-iPad apps on #VisionOS? In the simulator they’re just black windows (as they are in the iOS simulator — it’s always had to be tested on-device). Do they show 3D content in the window? Does the content pop out into the environment? Does it fail altogether?