When utilizing Paperkit in its simplest form, PaperMarkupViewController does not show the option to add images.
Furthermore, trying to add images directly to the PaperMarkup's insertNewImage() function does not display anything. It seems like image functionality is entirely broken on Xcode 26.
This can be seen through the following example done by a fellow member here on the forums:
https://gist.github.com/clarkezone/68eb3ee13b5607782ceb2e20cece4ab3
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am trying to do the following code:
func withBackground() -> some View {
#if os(visionOS)
background {
Material.thin
}
#else
background {
Color.offWhite.ignoresSafeArea()
}
#endif
}
But Xcode 15 Beta 2 says the following:
Unknown operating system for build configuration os
How can I change the background ONLY for visionOS, while keeping it as is on the other platforms I support? Thanks!