Developers found "Baidu Visual Search" code in iOS 27 Beta 2's ExtensionKit component — the first time Apple has embedded a Chinese AI partner at the system level, driven by China's 2026 Cybersecurity Law amendments t... Apple's partnership with Baidu covers visual search, general search, and Siri Chinese language u...

Create a landscape editorial hero image for this Studio Global article: Search & fact-check with cited sources for What evidence of a Baidu Visual Search integration was discovered in iOS 27 Beta 2, how does it f. Article summary: ## Evidence of Baidu Visual Search in iOS 27 Beta 2. Topic tags: general, documentation, general web, user generated, news. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks, charts with fake numbers, clickbait thumbnails, icons, and tiny thumbnail layouts. Make it useful as an illustrative visual, not as factual evidence.
For years, iPhone users in China have watched Apple deliver AI features everywhere else first. That is about to change. In June 2026, developers combing through the iOS 27 Beta 2 firmware uncovered something unprecedented: code naming Baidu as a built-in Visual Search partner, hardcoded at the system level for the first time. This is not a rumor or a leaked roadmap — it is shipping beta code that reveals exactly how Apple plans to bring AI to its biggest overseas market, under the tightest regulatory regime in the world.
Researchers discovered string references to "Baidu Visual Search" (百度视觉搜索) inside a new ExtensionKit component called SearchPartnerInferenceProvider within the iOS 27 Beta 2 build (24A5370h) . The code appeared alongside region-detection logic, eligibility checks, and AI service-switching infrastructure
.
This is the first confirmed instance of Apple embedding code for a domestic Chinese AI partner directly into iOS. By comparing Beta 1 (24A5355q) and Beta 2, analysts identified dozens of new frameworks, daemons, feature flags, and localized strings, with the Baidu references being the most significant discovery . Apple also added a mechanism that lets the system automatically detect the user's location and route AI requests to the appropriate partner, suggesting a regionalized approach to AI services
.
Apple has been working toward a China-specific AI rollout since at least early 2024, when it first held exploratory talks with Baidu about integrating the company's generative AI models into devices sold in China . After months of negotiations — which included a reported disagreement over how iPhone user data would be handled
— the partnership solidified into a multi-provider strategy.
Under the arrangement, Baidu is responsible for AI search capabilities handling both images and text, as well as upgrading the Chinese-language version of Siri . Alibaba was later added as an additional partner, with Alibaba Chairman Joe Tsai confirming the deal in February 2025
. According to Bloomberg's Mark Gurman, Alibaba's role is to modify and censor content on Apple's on-device models to comply with Chinese law, while Baidu powers Visual Intelligence — effectively playing the same role that OpenAI and Google do for Apple Intelligence globally
.
Apple pursued a non-exclusive approach to diversify risk, signing agreements with multiple Chinese AI model providers . This division of labor — Baidu for visual search, search, and language; Alibaba for generative AI and content filtering — reflects Apple's need to satisfy both technical requirements and regulatory obligations.
Foreign companies like Apple cannot simply deploy their existing AI services in China. The legal environment effectively mandates domestic partnerships.
Major amendments to China's Cybersecurity Law took effect January 1, 2026, explicitly embedding AI governance within the law and strengthening data localization requirements . All AI foundation models serving Chinese users must obtain a license from the Cyberspace Administration of China (CAC)
. Strict data localization laws require that user data collected in China remain within the country's borders, with mandatory onshore data centers and biennial compliance audits
.
Foreign AI services also face mandatory registration, security reviews, and content filtering obligations, with enforcement risks including service suspension and fines up to 10% of annual revenue . These rules make it effectively impossible for Apple to run its global Apple Intelligence — which relies on OpenAI and Google — on devices sold in China. Partnering with licensed local providers like Baidu is the only viable path to compliance.
iOS 27 Beta 2 introduces a dedicated Visual Intelligence menu in the Siri section of Settings, designed to support third-party search providers .
Two key toggles were discovered:
These settings create the user-facing infrastructure for plugging in Baidu as the Visual Intelligence search provider for devices in the China region. The same framework could theoretically be extended to other partners in other regions, but for now, Baidu is the only partner named in the firmware .
Apple is expected to release iOS 27 publicly in September 2026, following the standard fall release cadence. At WWDC 2026, Apple confirmed that China-specific Apple Intelligence features would not launch at the same time as global features . The Baidu Visual Search integration is projected to be part of the China-specific feature set, though Apple has not confirmed exact timing for the China AI features relative to the global iOS 27 release. The code discovered in Beta 2 strongly suggests that the underlying infrastructure is being put in place now, with a launch window later in the fall or early 2027.
Studio Global AI
Use this topic as a starting point for a fresh source-backed answer, then compare citations before you share it.
Developers found "Baidu Visual Search" code in iOS 27 Beta 2's ExtensionKit component — the first time Apple has embedded a Chinese AI partner at the system level, driven by China's 2026 Cybersecurity Law amendments t...
Developers found "Baidu Visual Search" code in iOS 27 Beta 2's ExtensionKit component — the first time Apple has embedded a Chinese AI partner at the system level, driven by China's 2026 Cybersecurity Law amendments t... Apple's partnership with Baidu covers visual search, general search, and Siri Chinese language upgrades, while Alibaba handles content censorship.
China's regulatory environment — including mandatory data localization, CAC model licensing, and fines up to 10% of annual revenue — effectively prohibits Apple from deploying its global Apple Intelligence (OpenAI/Goo...