Post

Replies

Boosts

Views

Activity

What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max?
What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max? static func getiPhoneType() -> String { var systemInfo = utsname() uname(&systemInfo) let machineMirror = Mirror(reflecting: systemInfo.machine) let identifier = machineMirror.children.reduce("") { identifier, element in guard let value = element.value as? Int8, value != 0 else { return identifier } return identifier + String(UnicodeScalar(UInt8(value))) } return identifier } Does anyone have a real device to run the code and provide the information for the iPhone 16 Pro and iPhone 16 Pro Max?
0
1
530
Sep ’24
statusBarFrame error
Using an iPhone 16 Pro Max, running [UIApplication sharedApplication].windows.lastObject.windowScene.statusBarManager.statusBarFrame.size.height in Xcode 15 returns a result of 44, causing UI display issues for applications that rely on the status bar height for calculations. However, using Xcode 16, the same code returns a height of 54, and the UI displays correctly. Is this an Apple Please acknowledge this bug, Apple.
0
2
533
Sep ’24
iOS 18 navigationbar UI bug
In iOS 18, when navigating from Page A (with a red navigation bar background color) to Page B, and Page B hides the navigation bar, upon returning to Page A, the background color of the navigation bar appears white (seemingly transparent). The navigation bar background for the share button should be red.
Topic: UI Frameworks SubTopic: UIKit
0
1
585
Sep ’24
iOS dark mode app icon
the application icon turns black in iOS 18's dark mode, resembling a ghost. Therefore, we would like to understand how Apple processes the background of app icons to turn them black in dark mode. My request is as follows: I would like to understand the color change principle of app icons in dark mode. Without using Xcode 16, how can we ensure compatibility so that users with iOS 18 can see the normal icon?
Topic: Design SubTopic: General
0
3
1.7k
Jul ’24