Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 88

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
01/17/14 11:04 AM (10 years ago)

BT30 - Day 13 - Hide the Share button in Socialize

BT30 is my personal project to contribute to buzztouch: https://www.buzztouch.com/forum/thread.php?fid=2348BA49BA5737C92E3D9B5&tid=2348BA49BA5737C92E3D9B5 Day 13 - Hide the Share button in Socialize --------------- DESCRIPTION --------------- For those too lazy to add the api/keys for Facebook and Twitter sharing in Socialize SDK, use this code to hide the button completely! (if you don't users will complain share is broken) ------- CODE ------- 1. put in view will appear method/function, plugin .m file (where you integrated socialize) // start socialize share hide // this code hides the share button self.actionBar.itemsRight = [NSArray arrayWithObjects: [self.actionBar.itemsRight objectAtIndex:0], [self.actionBar.itemsRight objectAtIndex:1], nil]; // end socialize share hide And that's it! Hope this helps someone. David
 
epicweb
Aspiring developer
Profile
Posts: 159
Reg: Aug 30, 2012
Glen Carbon
4,990
like
01/17/14 11:06 AM (10 years ago)
do you recommend Socialize or scringo?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/17/14 11:11 AM (10 years ago)
Personally I love Socialize as my preference, but in terms of functionality Scringo takes the lead by far. Both are great, I prefer socialize due to its minimalistic lightweight features to compliment my app, where scringo feels like it takes over the app. Just my own views of course! Cheers, David
 
epicweb
Aspiring developer
Profile
Posts: 159
Reg: Aug 30, 2012
Glen Carbon
4,990
like
01/17/14 11:12 AM (10 years ago)
do you have an app I could download to see Socialize in action?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/17/14 11:37 AM (10 years ago)
This isn't mine but a great example: https://itunes.apple.com/app/id526621187 David
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.