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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -