Giter Site home page Giter Site logo

Comments (12)

hongtaozhy avatar hongtaozhy commented on July 4, 2024

用户选择分享平台 你应该等待alert消失之后再请求授权

  • (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex; // after animation
    否则keywindow的生命周期结束了 webview自然就消失了

from weibo_ios_sdk.

yaokaige avatar yaokaige commented on July 4, 2024

没错,是这样的。另外actionSheet的话,应该在这里请求授权

- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex;  // after animation

from weibo_ios_sdk.

zjutwhw avatar zjutwhw commented on July 4, 2024

当手机上已经装了sina的客户端时,请求授权时跳转到sina客户端授权,但授权之后就不能跳转回自己的app,这是怎么回事?有没有朋友遇到这种情况。

但是如果手机本来没有装sina客户端,通过webview授权,一切正常。

from weibo_ios_sdk.

yaokaige avatar yaokaige commented on July 4, 2024

@zjutwhw 这种情况一般都是bundleID的问题,仔细看一下sdk的README

from weibo_ios_sdk.

zjutwhw avatar zjutwhw commented on July 4, 2024

@yaokaige 谢谢指教,文档里说的很清楚,是我自己没仔细阅读。

from weibo_ios_sdk.

yaoyaozhang avatar yaoyaozhang commented on July 4, 2024

我使用3.1.1的验证码登录,点击“获取验证码”直接弹出“错误”的alert

from weibo_ios_sdk.

sheaxu avatar sheaxu commented on July 4, 2024

Bundle ID填写是正确的,但是仍旧存在这个问题

from weibo_ios_sdk.

edwardean avatar edwardean commented on July 4, 2024

我现在存在和@sheaxu一样的问题,手机上没安装微博客户端时,授权页面弹出后授权后无反应,跳转的微博客户端授权后也没有任何反应,我的bundleID是正确的,请问这个是怎么回事?

from weibo_ios_sdk.

xylinuxkernel avatar xylinuxkernel commented on July 4, 2024

sso授权登陆,无客户端网页登陆成功后没有logout为什么每次点击授权都要重新来一遍 ,安装了客户端则不会这样 ,这是为什么,因为这个问题已经被苹果拒绝了

from weibo_ios_sdk.

huangwendong1988 avatar huangwendong1988 commented on July 4, 2024

1、看看info.plist文件里有没添加加url types,在url schems里填上wb+APPKEY,如:wb8728171
2、微博平台上设置的bundle id 是否与你的应用一致

from weibo_ios_sdk.

wlflovesj avatar wlflovesj commented on July 4, 2024

客户端分享成功然后返回的时候崩溃了

from weibo_ios_sdk.

getgetsetset1 avatar getgetsetset1 commented on July 4, 2024

ios swift, 我用github上最新的SDK进行认证,如果没有安装客户端的话无法弹出网页进行认证,why?, 如果安装了客户端就可以, 3Q

from weibo_ios_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.