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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -