Apple buried foldable iPhone references deep inside iOS 27, and they are hard to dismiss as anything other than preparation for the company's first folding device.
Developer Sam Henri Gold discovered strings including "foldState," "angleDegrees," "mechanicalAngleDegrees," and "isanglevalid" within iOS 27's framework code after WWDC 2026. Macworld independently confirmed the findings and noted that no current Apple device uses these states.
The references allow iOS to detect whether a device is folded or unfolded and read the hinge angle, pointing to a free-stop hinge similar to what Samsung's Galaxy Z Fold line uses. That would enable Flex Mode-style functionality, letting the phone sit partially open like a laptop for hands-free video playback and calls.
Bloomberg reported that iOS 27 offers "the clearest public signs yet" of the foldable iPhone, with internal code referencing folding hardware alongside features tailored for larger, flexible displays. The device is set to debut in September alongside the iPhone 18 Pro family with a starting price around $2,000.
Apple's WWDC messaging to developers reinforced the same direction. During the Platforms State of the Union session, the company told developers to stop designing apps for specific devices and fixed orientations.
Instead. They should target "a dynamic range of sizes and aspect ratios." Developers who rebuild against the latest SDK get apps automatically opted into resizability, with a new iOS simulator and Xcode Previews to test across screen sizes.
The framing goes beyond iPhone Mirroring improvements, MacRumors noted. Treating every iOS app as something that must reflow across form factors makes more sense if a future iPhone can fold open to a substantially larger inner display.
Internal service tool references in iOS 27 also mention a secondary display, a second protective screen, and two additional light sensors, Android Authority reported. Software engineer M1Astra (via Bloomberg) corroborated the fold-related framework discoveries.
The foldable iPhone, expected to be called the iPhone Ultra, is rumored to feature a book-style design with a roughly 7.8-inch inner display and a 5.5-inch cover display. Other leaked specs include Touch ID instead of Face ID, a titanium frame with a Liquid Metal hinge, dual rear cameras, the A20 chip, and the C2 modem.
It would be the most expensive iPhone ever at over $2,000.
Apple has a pattern of quietly preparing its software ecosystem before new hardware categories. In 2014, before the iPhone 6 and 6 Plus, the company pushed developers to make apps more flexible with screen sizes.
Similar groundwork preceded the Vision Pro, with spatial computing frameworks appearing years before the headset launched.
IOS 27 is available now as a developer beta. A public beta arrives next month, with the official release expected this fall, likely alongside the iPhone Ultra in September.













