开发者

iPhone - ShareKit Facebook Password field is not in secured text entry for second time

开发者 https://www.devze.com 2023-03-19 10:09 出处:网络
Hi i am using sharekit API for sharing a text in my iPhone app,i am facing a problem in Facebook login page while sharing if i enter wrong userid and password once and for the next time the password f

Hi i am using sharekit API for sharing a text in my iPhone app,i am facing a problem in Facebook login page while sharing if i enter wrong userid and password once and for the next time the password field is not in secure mode whatever password i enter it is visible. c开发者_运维技巧an anyone help thanks in advance


SHKFormFieldTypePassword is important check this out not SHKFormFieldTypeText

    - (NSArray *)authorizationFormFields
    {
        return [NSArray arrayWithObjects:
                [SHKFormFieldSettings label:@"Username"
                                        key:@"username"
                                       type:SHKFormFieldTypeText
                                      start:nil],
                [SHKFormFieldSettings label:@"Password"
                                        key:@"password"
                                       type:SHKFormFieldTypePassword
                                      start:nil],           
                nil];
    }
0

精彩评论

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