开发者

keyboard don't appear with facebook login

开发者 https://www.devze.com 2023-04-05 16:36 出处:网络
I have a problem with ShareKit. I\'m trying to post image and text to facebook, without using the share actionsheet; I use a bar button item; the associated action is

I have a problem with ShareKit.

I'm trying to post image and text to facebook, without using the share actionsheet; I use a bar button item; the associated action is

SHKItem *item = [SHKItem image:reportImageView.image text:reportComment title:reportType];
[self becomeFirstResponder];
[SHKFacebook shareItem:item];
开发者_开发百科

The facebook login page appears but when I touch the username or password field to insert my credentials, the iphone keyboard don't appear.


I found it. It really was de UIResponder. I just use [self resignFirstResponder] in the main view and become the first responder when it need it. This only happens in IOS4, in IOS5 this doesnt care.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号