Skip to content

Instantly share code, notes, and snippets.

@valvoline
Created October 9, 2015 08:57
Show Gist options
  • Save valvoline/88d4b1b2489854856ba9 to your computer and use it in GitHub Desktop.
Save valvoline/88d4b1b2489854856ba9 to your computer and use it in GitHub Desktop.
Simple UIApplication Debugger for handleNonLaunchSpecificActions related bug
//
// UIApplication+Debug.m
//
// Created by valvoline on 09/10/15.
// Copyright © 2015 ISALabs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIApplication (Debug)
- (void)_handleNonLaunchSpecificActions:(id)arg1 forScene:(id)arg2 withTransitionContext:(id)arg3 completion:(void(^)())completionHandler;
@end
@implementation UIApplication (Debug)
- (void)_handleNonLaunchSpecificActions:(id)arg1 forScene:(id)arg2 withTransitionContext:(id)arg3 completion:(void(^)())completionHandler
{
NSLog(@"arg1: %@\narg2: %@\narg3: %@\ncompletion: %@", arg1, arg2, arg3, completionHandler);
}
@end
@kgDe35NjrC
Copy link

Is there a swift version of this?

@i07
Copy link

i07 commented Jan 3, 2016

yes, i've put up a gist for swift 2.0 here : https://gist.github.com/i07/c315fdcb3402136e712c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment