小编Ita*_*hen的帖子

Twitter登录 - 已完成登录但未被重定向到我的应用程序

正如标题所描述的那样,它坚持这个状态.我找不到搜索网络的解决方案.没有错误...使用ios swift

图片(希伯来语)附:它基本上说:"将你重定向到应用程序,可能需要一些时间......"

代码:AppDelegate -

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)

    var configureError: NSError?
    GGLContext.sharedInstance().configureWithError(&configureError)
    assert(configureError == nil, "Error configuring Google services: \(configureError)")

    Fabric.with([Twitter.self])

    return true
}


//deprecaed - for support
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
    let directedByFB = FBSDKApplicationDelegate.sharedInstance().application(application, open: url, sourceApplication: sourceApplication, annotation: annotation)
    let directedByGoogle = GIDSignIn.sharedInstance().handle(url as URL!, sourceApplication: sourceApplication,annotation: annotation)
    return directedByFB || directedByGoogle
}


func application(application:UIApplication, openURL …
Run Code Online (Sandbox Code Playgroud)

ios twitter-fabric

3
推荐指数
1
解决办法
1537
查看次数

了解View.setTranslationY()[/ X()]

如标题所示,我想了解该方法到底在做什么。

首先,我已经仔细检查过android的坐标系是这样的: 坐标系

辅助-请花一点时间检查我的android studio屏幕,以及方法快速文档。为什么我的视图(单击后)的值是106? android屏幕

user-interface android

3
推荐指数
1
解决办法
2532
查看次数

标签 统计

android ×1

ios ×1

twitter-fabric ×1

user-interface ×1