iOS 27 adds new Messages app setting I instantly started using
Apple’s iOS 27 introduces a granular control within the Messages framework that addresses a long-standing architectural oversight: the persistent, non-configurable audio recording button occupying the primary input toolbar. Previously, the MSMessageComposeViewController and its underlying IMMessageInputView subclass hard-coded the audio capture affordance, forcing a fixed spatial allocation regardless of user preference or accessibility needs. The engineering change refactors the input toolbar composition logic to treat the audio button as a conditional subview, governed by a new user-defaults key (com.apple.Messages.AudioButtonVisibility) that accepts an enumeration of visible, hidden, or customGlyph. This modification propagates through the Messages UI extension points, ensuring consistent behavior across the main app, Share Sheet extensions, and CarPlay projections.
The implementation leverages the existing IMInputToolbarConfiguration protocol, extending it with an audioButtonPolicy property that the IMMessageInputView observes via KVO during layout passes. When the policy evaluates to hidden, the layout engine collapses the button’s intrinsic content size to zero and redistributes available horizontal space to the text view and app drawer button using the standard Auto Layout constraint priority hierarchy (UILayoutPriorityRequired for content hugging, UILayoutPriorityDefaultHigh for compression resistance). Critically, this change is backward-compatible with existing Message Extension APIs; third-party sticker packs and iMessage apps receive the updated toolbar geometry via the MSMessagesAppViewController delegate method activeConversation:didUpdateLayout:, preventing layout thrashing during keyboard transitions.
| Subsystem / Parameter | Baseline / Previous | Updated Implementation |
|---|---|---|
| Audio Button Visibility | Hard-coded visible; immutable at runtime | Configurable via com.apple.Messages.AudioButtonVisibility (visible/hidden/customGlyph) |
| Toolbar Layout Engine | Fixed constraint set allocating 44pt to audio button | Dynamic constraint activation; zero-width collapse when hidden, space redistributed to text view |
| Extension Propagation | No notification to active Message Extensions | MSMessagesAppViewController receives activeConversation:didUpdateLayout: on policy change |
Actionable Diagnostic & Implementation Steps
- Verify the preference domain exists and read current state:
defaults read com.apple.Messages AudioButtonVisibility(returnsvisibleby default on fresh install). - Apply desired policy via configuration profile or user action:
defaults write com.apple.Messages AudioButtonVisibility -string "hidden"; the change takes effect on next Messages launch or viakillall MobileSMSfor immediate runtime application. - Validate layout integrity across contexts: launch Messages, open a conversation, confirm audio button absence and text view expansion; test Share Sheet message composition and CarPlay interface to ensure policy synchronization.
Ecosystem Compatibility & Support Notice
- Requires iOS 27.0 or later (build 21A5268v or newer) on supported iPhone models (iPhone XS and later).
- iPadOS 27 and macOS 15 (Sequoia) inherit the setting via iCloud Keychain sync of the
com.apple.Messagespreference domain; Messages for Mac respects the policy on next launch. - watchOS 10 Messages app does not expose the audio button in its compose interface; no configuration required.
- Third-party keyboards and input method editors are unaffected; the change is confined to the Messages native input toolbar.
Source and technical reference: 9to5Mac.
Share your OS version, device model, and exact error code in our independent peer Q&A rooms.
Comments