Post

Replies

Boosts

Views

Activity

Reply to UIRequiresFullScreen Deprecation
I'm now lamenting ever supporting the iPad. It seems that device is just not playing nice. In SwiftUI you're supposed to be able to use .windowResizability(.contentSize). On macOS, I use that along with modifying my main view with .frame(idealWidth: 1024, idealHeight: 768) and this forces the window to have a content area of that size. tvOS is a non-issue since you're always dealing with 1920 pt x 1080 pt screens. iPhone also a non-issue at least for my games. But with iPad and iOS 26, even if attempting something similar as for macOS, you really don't have ultimate control. I was able to at least set a min of 360 and max of around 500 for the iPad window. But attempting say 720 x 720 will fail since a user and/or system can resize the window. And even when using Canvas, content will now be offscreen. Example (see attached). The actual window height is around 560 pt. So querying the size parameter to Canvas seems to be useless if wanted to use to drive how big to render things. Apple made a huge mistake in not allowing full screen apps on iPad for iOS 26.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’25
Reply to I would avoid Xcode 14 (seems to have corrupted my system)
Got Beta 3 installed tonight and so far all is going well alongside Xcode 13.4.1. In Xcode 14, the Simulator does respond to Command-Shift-A to toggle light/dark mode. Opened two of my projects, built and ran a-ok. Closed Xcode 14, then launched Xcode 13.4.1 and opened the same projects. No more crashes there. Building and running with Xcode 13.4.1 also had no issues. No crashes when debugging. And the Simulator also responds to Command-Shift-A.
Jul ’22
Reply to Xcode 14: Simulator Disappeared After Crash
I've had nothing but issues with Xcode 14 (first beta and now even the second one). I no longer have it installed. After installing and launching it, it renders Xcode 13.4.1 (presumably any 13.x version) unstable (crashes, unexpected behavior at runtime, hot keys no longer working in the simulator). I've traced it down to something with /Library/Developer that gets messed up. After uninstalling Xcode 14, I delete that folder, then manually launch and instal from Xcode 13.4.1, Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg
Jun ’22
Reply to I would avoid Xcode 14 (seems to have corrupted my system)
This also affected a second computer (MacBook Pro with M1 Max). The first computer was an iMac Pro. Both with macOS 12.4. For the second computer, I didn't experience crashes, but had the same issue with Shift Command A not working in the Simulator. And Xcode's builds seemed to fail more often (could not really identify a root cause). Anyhow, I was able to delete /System/Developer, then re-install those files by running Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg So this issue appears to be isolated to files that are stored in /System/Developer
Jun ’22
Reply to I would avoid Xcode 14 (seems to have corrupted my system)
After restoring all project files, things were still messed up. So I completely purged any Developer or Xcode folder found in /System/Library, ~/Library, etc. Then, restored from a backup. Chose June 1st which was back when I had Xcode 13.4. Also re-restored all projects (archiving off any source file changes though). Re-installed Xcode 13.4.1 and so far things are working as expected. So between messing up my project files, Xcode 14 must have also messed up something in ~/Library, or elsewhere. And hurray! The hot key Shift Command A in the simulator is once again toggling dark mode. I didn't mention that ealier, but that was another function I had lost. Executing the hot key briefly flashed the Features menu in the Simulator, but the appearance didn't change. Workaround was to go into Preferences | Developer, but that got annoying.
Jun ’22