Difference between revisions of "Breadcrumbs"

From iPhone Development Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
The actual breadcrumb view is not in SpringBoard or its' <code>UIStatusBar</code>. It is inside the application. It is inside <code>UIStatusBarForegroundView</code> and then inside a <code>UIStatusBarBreadcrumbItemView</code>.
 +
 +
The action is stored in the UIApplication (NOT SpringBoard!) <code>[[%c(UIApplication) sharedApplication] _systemNavigationAction]</code>
 +
 
=== Disabling ===
 
=== Disabling ===
 
# Hook UIKit's <code>UIStatusBarForegroundStyleAttributes</code>, and override <code>canShowBreadcrumbs</code> and its associated setter method
 
# Hook UIKit's <code>UIStatusBarForegroundStyleAttributes</code>, and override <code>canShowBreadcrumbs</code> and its associated setter method
 
# Return <code>NO</code> for <code>SBMainDisplaySceneManager</code>'s <code>- (_Bool)_shouldBreadcrumbApplication:(SBWorkspaceApplication *)arg1 withTransitionContext:(id)arg2;</code>
 
# Return <code>NO</code> for <code>SBMainDisplaySceneManager</code>'s <code>- (_Bool)_shouldBreadcrumbApplication:(SBWorkspaceApplication *)arg1 withTransitionContext:(id)arg2;</code>
 +
 +
== Tweaks ==
 +
# [https://github.com/twodayslate/Homemade-Bread Homemade Bread]

Revision as of 16:10, 19 November 2015

The actual breadcrumb view is not in SpringBoard or its' UIStatusBar. It is inside the application. It is inside UIStatusBarForegroundView and then inside a UIStatusBarBreadcrumbItemView.

The action is stored in the UIApplication (NOT SpringBoard!) [[%c(UIApplication) sharedApplication] _systemNavigationAction]

Disabling

  1. Hook UIKit's UIStatusBarForegroundStyleAttributes, and override canShowBreadcrumbs and its associated setter method
  2. Return NO for SBMainDisplaySceneManager's - (_Bool)_shouldBreadcrumbApplication:(SBWorkspaceApplication *)arg1 withTransitionContext:(id)arg2;

Tweaks

  1. Homemade Bread