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

Fixes Inability to Tap Screenshot on iOS 14 #277

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions PinpointKit/PinpointKit/Sources/Core/ScreenshotCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ class ScreenshotCell: UITableViewCell {
backgroundColor = .clear
selectionStyle = .none

addSubview(stackView)
contentView.addSubview(stackView)

stackView.topAnchor.constraint(equalTo: topAnchor).isActive = true
stackView.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
stackView.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
stackView.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
stackView.topAnchor.constraint(equalTo: contentView.topAnchor).isActive = true
stackView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor).isActive = true
stackView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor).isActive = true
stackView.trailingAnchor.constraint(equalTo: contentView.trailingAnchor).isActive = true

stackView.addArrangedSubview(screenshotButton)
stackView.addArrangedSubview(hintLabel)
Expand Down