Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Fixes gestures not passing through UITableViewWrapperView on iOS 7 #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartvandendriessche
Copy link
Contributor

This fixes #47

In a nutshell, this pull request toggles UITableViewWrapperView's userInteractionEnabled property off or on when the emptyDataSetView appears or disappears.

The main concern here I suppose is the check for "UITableViewWrapperView" since that is a private API. This call is guarded by a version check, so shouldn't break in future releases, but I'm not sure if checking for this class could cause an app to be rejected.

For what it's worth, validating an Archive containing this code didn't cause any private API flags to be raised.

This fixes dzenbot#47

In a nutshell, this pull request toggles `UITableViewWrapperView`'s
`userInteractionEnabled` property off or on when the `emptyDataSetView`
appears or disappears.

The main concern here I suppose is the check for
"UITableViewWrapperView" since that is a private API. This call is
guarded by a version check, so shouldn't break in future releases, but
I'm not sure if checking for this class could cause an app to be
rejected.

For what it's worth, validating an Archive containing this code didn't
cause any private API flags to be raised.
@akashivskyy
Copy link

What's the status of this?

@dzenbot
Copy link
Owner

dzenbot commented Apr 27, 2016

This is too hacky IMHO. There must be a better way of doing this.
Is it still an issue for anyone?

@bartvandendriessche
Copy link
Contributor Author

The apps I'm using this in no longer support iOS 7 nowadays, but this is basically an issue for everyone who supports iOS 7 and wants the empty data set button to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gestures not reaching custom view in iOS7 when tableview has a background view
3 participants