Post

Replies

Boosts

Views

Activity

Comment on Battery level getting from UIDevice is not accurate on iOS17
I wonder what the intent might be, that the battery level information exists in the system at 1% granularity, and that is what the system shares with the user in the status bar, but apps are only allowed to see it at 5%. I have an app that displays a low battery indicator of its own (this can be useful in full-screen mode), and this used to track the status bar's battery indicator changing from red to white. With the new and worsened resolution, the two indicators are no longer always in sync.
1w
Comment on sceneDidEnterBackground not called from App Switcher
The scene manifest is as it was generated by Xcode when I created the project; I made no changes to it: <key>UIApplicationSceneManifest</key> <dict> <key>UIApplicationSupportsMultipleScenes</key> <false/> <key>UISceneConfigurations</key> <dict> <key>UIWindowSceneSessionRoleApplication</key> <array> <dict> <key>UISceneConfigurationName</key> <string>Default Configuration</string> <key>UISceneDelegateClassName</key> <string>SceneDelegate</string> <key>UISceneStoryboardFile</key> <string>Main</string> </dict> </array> </dict> </dict>
Apr ’22