Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

kgDe35NjrC commented Dec 18, 2015

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