---
title: "Issue #84: SwiftUI's hidden orphan switch, toolbars get priorities, and Media Intelligence in iOS 27"
url: https://daily.dev/posts/issue-84-swiftui-s-hidden-orphan-switch-toolbars-get-priorities-and-media-intelligence-in-ios-27-i6wmdtsvv
source_url: https://ioscodereview.com/issues/issue-84-swiftuis-hidden-orphan-switch-toolbars-get-priorities-and-media-intelligence-in-ios-27
type: article
source: "iOS Code Review"
published: 2026-08-20T05:41:57.968Z
updated: 2026-08-20T05:43:40.365Z
tags: ["ios", "swift", "swiftui", "xcode"]
reading_time: 4
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Issue #84: SwiftUI's hidden orphan switch, toolbars get priorities, and Media Intelligence in iOS 27

**[iOS Code Review](https://daily.dev/sources/ioscodereview)** · 4 min read · 0 upvotes · 0 comments

## Summary

A newsletter roundup covering iOS and Swift developer news: a hidden private SwiftUI Text modifier that controls orphan word wrapping (available since iOS 16), new iOS 27 toolbar APIs for setting item visibility priority and navigation bar minimization behavior, the new on-device Media Intelligence framework in iOS 27 for face grouping and video highlight detection, a refreshed guide on Sendable and @Sendable closures, a tip on using Top Functions mode in Instruments to find slow code, upcoming App Store marketing artwork slots launching this fall, and a brief mention of the Swift team's July digest covering task stealers, self-hosted SwiftPM registries, and a withDeadline proposal.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ioscodereview.com/issues/issue-84-swiftuis-hidden-orphan-switch-toolbars-get-priorities-and-media-intelligence-in-ios-27>

## Questions this post answers

### How do I set toolbar item priority in SwiftUI on iOS 27 so buttons collapse into the overflow menu?

Use the visibilityPriority modifier on a ToolbarItem, setting it to .high to keep an item visible longer when space is tight. SwiftUI moves lower priority items into the overflow menu first. You can also control how the navigation bar minimizes while scrolling with toolbarMinimizationBehavior(.onScrollDown, for: .navigationBar), both new in iOS 27.

_Teams adapting toolbars for iOS 27 can track SwiftUI API changes like this on daily.dev._

### How can I control SwiftUI Text orphan avoidance so it stops pulling the last word down to its own line?

SwiftUI has avoided orphaned words in Text since iOS 16 by default, pushing the last line's word group down when a single word would otherwise stand alone. The behavior is controlled by a private modifier, avoidsOrphans(false), accessible only by bridging into SwiftUI's ABI with a custom module interface file, since it isn't public API and falls under App Store review guideline 2.5.1.

_Developers weighing private API risk against UI polish can follow SwiftUI internals coverage on daily.dev._

### What does the Media Intelligence framework do in iOS 27?

Media Intelligence is a new on-device framework in iOS 27 that analyzes photos and videos: FaceGroupAnalyzer clusters faces belonging to the same person across a photo library, while VideoAnalyzer finds key frames and highlight moments in video using KeyFrameAnalysisRequest and HighlightAnalysisRequest. It requires a physical device to test, since the Simulator does not support it.

_Developers building photo and video features can follow iOS 27 SDK frameworks like this on daily.dev._

## Similar posts on daily.dev

- [Issue 764 – iOS Dev Weekly](https://daily.dev/posts/issue-764-ios-dev-weekly-0ew3yvorw) · iOS Dev Weekly · 0 upvotes · 0 comments
- [Issue 755 – iOS Dev Weekly](https://daily.dev/posts/issue-755-ios-dev-weekly-8oqjqlsun) · iOS Dev Weekly · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui), [#xcode](https://daily.dev/tags/xcode)

[View this post on daily.dev](https://daily.dev/posts/issue-84-swiftui-s-hidden-orphan-switch-toolbars-get-priorities-and-media-intelligence-in-ios-27-i6wmdtsvv)
