title: Frame does not assign the constraints
body: <p>I am trying to add the facebook button. </p>
  
  <p>Since you cannot drag and drop facebook button from the interface builder, you need to do programatically. </p>
  
  <p>I add a dummy button with no text and try to assign its constraints to facebook button. </p>
  
  <pre><code>FBSDKLoginButton *loginButton = [[FBSDKLoginButton alloc] init];
  loginButton.frame = dummyButton.frame; // try to assign frame values to the facebook button
  [self.view addSubview:loginButton];
  </code></pre>
  
  <p>The following image shows dummy button constraints.</p>
  
  <p><a href="https://i.stack.imgur.com/fp0fL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fp0fL.png" alt="enter image description here"></a></p>
  
  <p>But it seems that it does not work based on what I see.</p>
  
  <p><a href="https://i.stack.imgur.com/8J9WQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8J9WQ.png" alt="enter image description here"></a></p>