Presents app page when tapping updates

This commit is contained in:
Riley Testut
2019-09-12 13:51:03 -07:00
parent ff5e805b81
commit ee20ac9a03
4 changed files with 85 additions and 10 deletions

View File

@@ -58,6 +58,22 @@ extension UpdateCollectionViewCell
}
animator.startAnimation()
}
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?
{
let view = super.hitTest(point, with: event)
if view == self.versionDescriptionTextView
{
// Forward touches on the text view (but not on the nested "more" button)
// so cell selection works as expected.
return self
}
else
{
return view
}
}
}
private extension UpdateCollectionViewCell