Skip to content

Releases: LeoNatan/LNPopupController

Improved status bar management

01 Dec 21:29
Compare
Choose a tag to compare
v1.4.6

Version 1.4.6

Layout improvements

09 May 14:54
Compare
Choose a tag to compare
v1.4.5

iOS 8 split view does not override `viewDidLayoutSubviews`. Fixes #68

Accessibility support

30 Apr 19:23
Compare
Choose a tag to compare

The framework now supports accessibility and will honor accessibility labels, hints and values. By default, the accessibility label of the popup bar is the title and subtitle provided by the popup item.

To modify the accessibility label and hint of the popup bar, set the accessibilityLabel and accessibilityHint properties of the LNPopupItem object of the popup content view controller.

demoVC.popupItem.accessibilityLabel = NSLocalizedString(@"Custom popup bar accessibility label", @"");
demoVC.popupItem.accessibilityHint = NSLocalizedString(@"Custom popup bar accessibility hint", @"");

To add accessibility labels and hints to buttons, set the accessibilityLabel and accessibilityHint properties of the UIBarButtonItem objects.

UIBarButtonItem* upNext = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"next"] style:UIBarButtonItemStylePlain target:nil action:NULL];
upNext.accessibilityLabel = NSLocalizedString(@"Up Next", @"");
upNext.accessibilityHint = NSLocalizedString(@"Double Tap to Show Up Next List", @"");

To modify the accessibility label and hint of the popup close button, set the accessibilityLabel and accessibilityHint properties of the LNPopupCloseButton object of the popup container view controller.

targetVC.popupContentView.popupCloseButton.accessibilityLabel = NSLocalizedString(@"Custom popup button accessibility label", @"");
targetVC.popupContentView.popupCloseButton.accessibilityHint = NSLocalizedString(@"Custom popup button accessibility hint", @"");

To modify the accessibility label and value of the popup bar progress view, set the accessibilityProgressLabel and accessibilityProgressValue properties of the LNPopupItem object of the popup content view controller.

demoVC.popupItem.accessibilityProgressLabel = NSLocalizedString("Custom accessibility progress label", comment: "")
demoVC.popupItem.accessibilityProgressValue = "\(accessibilityDateComponentsFormatter.stringFromTimeInterval(NSTimeInterval(popupItem.progress) * totalTime)!) \(NSLocalizedString("of", comment: "")) \(accessibilityDateComponentsFormatter.stringFromTimeInterval(totalTime)!)"

Add support for split view controllers

28 Apr 19:31
Compare
Choose a tag to compare
Other visual tweaks
Closes #63
Closes #60

v1.4.1

26 Feb 13:05
Compare
Choose a tag to compare

Fixed issues with custom bottom docking views and bottom layout guide calculations.

v1.4

04 Feb 20:39
Compare
Choose a tag to compare
Change version to 1.4.0

v1.3

29 Jan 21:47
Compare
Choose a tag to compare
Closes #41 - Support navigation controller content controllers

v1.2

09 Jan 12:45
Compare
Choose a tag to compare
Update README