 +    gr0.delaysTouchesBegan = false;
 +    gr1.delaysTouchesBegan = false;
 +}
++
++#pragma mark - SFSKStoreProductViewControllerDelegate
++
++- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController
++{
++    [self dismissViewControllerAnimated:YES completion:nil];
++}
  
  @end

 // Headers
 ////////////////////////////////////////////////////////////
 #include <UIKit/UIKit.h>
 
 
 ////////////////////////////////////////////////////////////
 /// \brief The view controller handles the view's orientation
 ///
 ////////////////////////////////////////////////////////////
 
 ////////////////////////////////////////////////////////////
 /// \brief Tells if the controller supports auto-rotation (iOS < 6)

 - (NSUInteger)supportedInterfaceOrientations;
 
+- (void)viewDidAppear:(bool)animated;
+- (void)productViewControllerDidFinish:(SKStoreProductViewController *)viewController;
+
 ////////////////////////////////////////////////////////////
 // Member data
