Skip to content

Instantly share code, notes, and snippets.

View lucabartoletti's full-sized avatar

Luca Bartoletti lucabartoletti

View GitHub Profile
@lucabartoletti
lucabartoletti / SampleURL.m
Created September 19, 2017 16:55
A sample of how we link tot he app store
NSString *url = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=%@&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software", [self appStoreID]];
#import "ViewController.h"
#import <MapKit/MapKit.h>
static CGFloat kCMStartY = -150;
@interface ViewController ()
@property (nonatomic, strong, nullable) MKMapView *mapView;
@property (nonatomic, strong, nullable) UIView *mapViewContainer;
@property (nonatomic, strong, nullable) UIView *squareView;