Breadcrumbs: Difference between revisions

From iPhone Development Wiki
(Created page with "To disable: you have to hook UIKit's `UIStatusBarForegroundStyleAttributes`, and override `canShowBreadcrumbs` and its associated setter method")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To disable:
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>.
you have to hook UIKit's `UIStatusBarForegroundStyleAttributes`, and override `canShowBreadcrumbs` and its associated setter method
 
The action is stored in the UIApplication (NOT SpringBoard!) <code>[[%c(UIApplication) sharedApplication] _systemNavigationAction]</code>
 
=== Disabling ===
# 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>
 
== Resources ==
# [https://github.com/twodayslate/Homemade-Bread Homemade Bread] - an open source tweak that allows you to use the home button to activate a breadcrumb

Latest revision as of 16:14, 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;

Resources

  1. Homemade Bread - an open source tweak that allows you to use the home button to activate a breadcrumb