ios - Recalling didMoveToView without FBSDKShareButton -



ios - Recalling didMoveToView without FBSDKShareButton -

in ios app not able login facebook.

fbsdkcorekit/fbsdkcorekit.h fbsdkloginkit/fbsdkloginkit.h social/social.h -(void)didmovetoview:(skview *)view { fbloginview *loginview = [[fbloginview alloc] init]; loginview.delegate=self; loginview.readpermissions=@[@"public_profile",@"email",@"user_friends"]; [self.view addsubview:loginview]; fbsdksharelinkcontent *content = [[fbsdksharelinkcontent alloc] init]; content.contenturl = [nsurl urlwithstring:@"https://developers.facebook.com"]; fbsdksharebutton *button = [[fbsdksharebutton alloc] initwithframe:cgrectmake(0, 150, 200, 30)]; button.sharecontent = content; [self.view addsubview:button]; }

ios objective-c facebook

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -