FBDialog orientation issue

328 Views Asked by At

How can I set the orientation of fblogindialog? It always appears in portrait mode. When I set the frames it just becomes in landscape mode but the web view inside the frame doesnt.

What should I do..

Please help here is the code

self.loginDialog  = [[[FBLoginDialog alloc] init] autorelease];

loginDialog.delegate = self;    
[self.loginDialog show];
//self.loginDialog.frame = CGRectMake(0, 0, 480, 320);
[self.view addSubview:loginDialog];

here is the screen shot:

enter image description here

0

There are 0 best solutions below