ios - SLComposeViewController doesn't handle tap on Cancel -
i'm using slcomposeviewcontroller share data facebook. need know if user tap post or cancel button, in block
slcomposeviewcontrollercompletionhandler myblock = ^(slcomposeviewcontrollerresult result){ if (result == slcomposeviewcontrollerresultdone) { nslog(@"done"); } else { nslog(@"cancelled"); } [controller dismissviewcontrolleranimated:yes completion:nil]; };
i'm getting done in both cases, after tapping cancel , after tapping post. have ideas wrong?
update bug being discussed here. amudi
Comments
Post a Comment