Apple’s long-rumored foldable iPhone may finally be nearing reality, as newly discovered references in the iOS 27 developer beta suggest the company is actively preparing software support for a foldable device.
According to researcher @M1Astra, hidden files within the latest iOS 27 beta contain several terms associated with foldable hardware functionality. Among the references identified were “foldState,” “mechanicalAngleDegrees,” “angleDegrees,” and “MGGetLogicalDeviceDisplayCount” — code elements that appear designed to detect whether a device is folded, determine the angle at which it is opened, and identify how many displays are currently active.
The findings have reignited speculation that Apple could introduce its first foldable iPhone alongside its next generation of hardware expected to be unveiled in September. If accurate, the device would likely run iOS 27, which Apple officially introduced during its Worldwide Developers Conference (WWDC) keynote earlier this week.
Despite years of industry rumors, Apple has yet to enter the foldable smartphone market. Competitors such as Samsung and China’s Huawei have been producing foldable handsets for more than five years, giving them a significant head start. However, Apple is widely expected to approach the category cautiously, aiming to refine the user experience before launching its own version.
One of the biggest challenges facing foldable smartphones remains their overall thickness. While the appeal of having a larger display that folds into a pocket-sized device is clear, consumers continue to prioritize portability and comfort. A bulky foldable phone can quickly lose its convenience factor, especially for users who rely on smaller pockets or prefer lightweight devices.
Apple has demonstrated considerable expertise in reducing the size and thickness of its products. Last year, the company introduced the iPhone Air, measuring just 5.6 millimeters thick. In theory, a foldable device using two similarly thin displays could result in a folded profile of approximately 11.2 millimeters.
That measurement would place Apple’s potential foldable device among the thinnest options on the market, thinner than most of Samsung’s existing foldable smartphones and comparable to some of the latest-generation models.
While Apple has not publicly confirmed plans for a foldable iPhone, the presence of foldable-related code in iOS 27 provides one of the strongest indications yet that development may be progressing behind the scenes.
For now, consumers and industry analysts alike will be watching closely as Apple’s annual September hardware event approaches. If the software clues prove accurate, the company’s long-awaited entry into the foldable smartphone market could finally be just around the corner.



