I closed and opened Stencyl and its working for Twitter. But as you indicated, it's not working for FB due to the policy. How can I set the button so that it straights away access FB instead of opening up a list of apps to share?Thanks!
Nevermind, I managed to exclude most of the unnecessary sharing options like print and copy to paste board. Code: [Select]UIActivityViewController *avc = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil]; NSArray *excludeActivities = @[UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll, UIActivityTypeAddToReadingList, UIActivityTypePostToFlickr, UIActivityTypePostToVimeo, UIActivityTypePostToTencentWeibo, UIActivityTypePostToWeibo]; avc.excludedActivityTypes = excludeActivities; I kept Air Drop because that actually works well and may be useful maybe?
UIActivityViewController *avc = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil]; NSArray *excludeActivities = @[UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll, UIActivityTypeAddToReadingList, UIActivityTypePostToFlickr, UIActivityTypePostToVimeo, UIActivityTypePostToTencentWeibo, UIActivityTypePostToWeibo]; avc.excludedActivityTypes = excludeActivities;
Quote from: Max Glockling on February 22, 2015, 02:09:09 pmNevermind, I managed to exclude most of the unnecessary sharing options like print and copy to paste board. Code: [Select]UIActivityViewController *avc = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil]; NSArray *excludeActivities = @[UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll, UIActivityTypeAddToReadingList, UIActivityTypePostToFlickr, UIActivityTypePostToVimeo, UIActivityTypePostToTencentWeibo, UIActivityTypePostToWeibo]; avc.excludedActivityTypes = excludeActivities; I kept Air Drop because that actually works well and may be useful maybe?I would like to use the facebook share option separately and would like to exclude that option from this simpleshare list. Can someone help how I would do that? Where will I find this code mentioned above?
Hello.I recently update to the newer version of this extension wihout hesitate.I don't remember which version did I have, but now I am unable to continue.I followed the installation fix for versions after 1.7, but It did not work. It doesn't work rename the folder either. I have been able to see just one extension instead of two, but anyway, the proble is still the same.Could you help me on this?
Thanks Bhoopalan.Actually is the only use I have for the button indeed. I was planning to use it on flash as well, but that's not the case.The problem is that before this error wasn't present when I compiled on flash. I mean, It could be a lot of work to remove the blocks and put them again each time I have to switch from android to flash.Also, as far as I remember it worked well on flash. I wonder if this doesn't apply anymore? I would like to use it on flash or windows.
compatibility=mobile
compatibility=all