LNPopupController: User Interaction conflicts
Description
I have a slider (MPVolumeView) at the bottom of my container view witch does not respond to user interactions.
Steps to Reproduce
If I don’t present the popupBar, just push the controller, the slider respond. If I present the popupBar and open the container view controller by tapping on the bar, the slider does not respond.
Device, OS and Xcode Versions
Xcode 9, ios 11.2.2, iPhone 6S
Code
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// KO: Slider does not respond
/*
let items = self.album.items
playViewController.itemsToPlay = items
let item = indexPath.row - 1
playViewController.itemToPlay = item
rootNC.presentPopupBar(withContentViewController:playViewController, animated: true, completion: nil)
playViewController.sender = self
playViewController.convertToPCM()
*/
// OK: Slider respond
let items = self.album.items
playViewController.itemsToPlay = items
let item = indexPath.row - 1
playViewController.itemToPlay = item
//rootNC.presentPopupBar(withContentViewController:playViewController, animated: true, completion: nil)
playViewController.sender = self
playViewController.convertToPCM()
self.navigationController?.pushViewController(playViewController, animated: true)
}
Screenshots
Slider does not respond
Slider respond
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (16 by maintainers)
Ok, my mistake, I have to do this:
I was doing it in the playViewController:
It works! Thanks!