Wednesday, 28 October 2015

Stop embedded Youtube player on UIwebview

-(void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
    if (self.isMovingFromParentViewController) {
        [youTubeWebView loadHTMLString:@"<p></p>" baseURL:nil];
    }
}

Wednesday, 14 October 2015

Custom AlertView

PXAlertView is a UIAlertView replacement similar to the style in iOS 7 but with a block based API and the ability to customise the styling and add custom views.https://github.com/alexanderjarvis/PXAlertView

Monday, 5 October 2015

Transport Security iOS 9 WORKAROUND!

<key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>