diff options
author | Teddy Wing | 2018-09-05 22:09:51 +0200 |
---|---|---|
committer | Teddy Wing | 2018-09-05 22:09:51 +0200 |
commit | 04f9b781817751fd8cfc244a05b424e3308100b3 (patch) | |
tree | dfa2f5dd5084cc8839623d3ac1d999b267205df6 /CopyMailto/DefaultURLHandler.m | |
parent | 654160eba671d3fc4050833551e2ebe7c13235b5 (diff) | |
download | Copy-Mailto-04f9b781817751fd8cfc244a05b424e3308100b3.tar.bz2 |
Remove unused `saveDefaultURLHandler`
No longer planning on using this method. Ideally there would be a way to
save and restore the old default "mailto" handler bundle identifier,
but that's just too much of a pain and I don't want to bother.
Diffstat (limited to 'CopyMailto/DefaultURLHandler.m')
-rw-r--r-- | CopyMailto/DefaultURLHandler.m | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CopyMailto/DefaultURLHandler.m b/CopyMailto/DefaultURLHandler.m index 123ad7b..c2295f3 100644 --- a/CopyMailto/DefaultURLHandler.m +++ b/CopyMailto/DefaultURLHandler.m @@ -24,13 +24,4 @@ return status; } -+ (void)saveDefaultURLHandler { - CFStringRef mailto = (CFStringRef)@"mailto"; - CFStringRef bundle_identifier = LSCopyDefaultHandlerForURLScheme(mailto); - NSLog(@"%@", bundle_identifier); - - CFRelease(mailto); - CFRelease(bundle_identifier); -} - @end |