From 0566c152f61ff1fd4de054035310d98355de890e Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Fri, 20 Mar 2020 15:33:29 -0700 Subject: [PATCH] Restores peek & pop in MyAppsViewController on iOS 12 --- AltStore/My Apps/MyAppsViewController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AltStore/My Apps/MyAppsViewController.swift b/AltStore/My Apps/MyAppsViewController.swift index 8adba52b..4193ad4e 100644 --- a/AltStore/My Apps/MyAppsViewController.swift +++ b/AltStore/My Apps/MyAppsViewController.swift @@ -100,6 +100,12 @@ class MyAppsViewController: UICollectionViewController self.sideloadingProgressView.trailingAnchor.constraint(equalTo: navigationBar.trailingAnchor), self.sideloadingProgressView.bottomAnchor.constraint(equalTo: navigationBar.bottomAnchor)]) } + + if #available(iOS 13, *) {} + else + { + self.registerForPreviewing(with: self, sourceView: self.collectionView) + } } override func viewWillAppear(_ animated: Bool)