Make Button touchUpInside FBLoginView
问题 I have a FBLoginView with property loginButton, and I want to make a button that is not in the same view fire this FBLoginView built in button feature. Does anyone have any suggestions? thanks 回答1: Download latest facebook SDK install and import coreKit & LoginKit frameworks in target. Create one sample button and give action. Ex: [fbLogin addTarget:self action:@selector(facebookLogin:) forControlEvents:UIControlEventTouchUpInside]; #import<FBSDKCoreKit/FBSDKCoreKit.h> #import<FBSDKLoginKit