Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 104

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
03/16/13 08:55 AM (12 years ago)

Socialize Integratiion Issue!

I have just updated all my plugins on my Self Hosting account and then proceed to recompile my apps and everything was going well until I was testing in the simulator and get this error in Xcode, based on this piece of code: Code: NSString *htmlEntity = [NSString stringWithFormat:@"%@", [BT_strings getJsonPropertyValue:screenData.jsonVars:@"navBarTitleText":@""]]; if (self.actionBar == nil) Error: Class method '+getJsonPropertyValue...' not found (return type defaults to id') Never got this error before I updated the plugins, how do I fix this as it causes my app to crash. Any help will be much appreciated.
 
Black White
I hate code!
Profile
Posts: 292
Reg: Feb 22, 2012
hanoi
4,770
like
03/16/13 09:22 AM (12 years ago)
change it to [BT_strings getJsonPropertyValue:self.screenData.jsonVars nameOfProperty:@"navBarTitleText" defaultValue:@""]]; --Hoang http://fb.com/BlackWhiteApps
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
03/16/13 09:37 AM (12 years ago)
Nice one! Black White, fixed issue.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/16/13 12:28 PM (12 years ago)
Yup, figured this a while ago but never got to the bottom of an alert error, missing key parameters :/
 
Black White
I hate code!
Profile
Posts: 292
Reg: Feb 22, 2012
hanoi
4,770
like
03/19/13 12:15 PM (12 years ago)
hi @Dragon, can you share me step by step how can into fb into Socialize in BT app pls ? im tired with document on Socialize webiste
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
04/23/13 07:25 AM (12 years ago)
Thanks Black White. I was stuck on this for a few hours until I saw your fix....
 

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.