问题标签 [pfloginviewcontroller]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - 解析 Facebook 登录检查以进行首次登录
我PFLoginViewController在我的应用程序中使用 Facebook 登录。
因为它使用 Facebook,所以用户在注册(即第一次登录)和登录(即后续登录,例如注销后)之间没有真正的区别。
如果用户第一次登录,我想更改用户的流程。例如,将他们带到屏幕以“填写”他们的帐户等......
有什么方法可以检查这是否是使用PFLoginViewController及其委托方法的第一次登录?还是我必须以自己的方式进行(即在PFUser对象上存储一个标志以表示他们已经完成了他们的帐户)。
嗯...无论如何我可能会这样做。我可以检查“登录次数”之类的。
ios7 - PFLogInViewController 自定义
当子类化 PFLogInViewController 进行自定义时。如何将“Parse”的字符串更改为其他内容?
ios7 - 子类化 PFLogInViewController 时的视图大小
当子类化 PFLogInViewController 进行自定义时。如何更改视图的大小?我看过本教程:https ://parse.com/tutorials/login-and-signup-views 但似乎没有答案。
我的应用基于 UITabBarController 并且其中一个选项卡需要登录。但是,如果用户无法登录,他应该仍然能够使用其他选项卡。
在当前情况下,当用户点击要求登录的选项卡时;他必须登录或杀死应用程序才能离开。因为 PFLogInViewController 占据了整个屏幕,并且没有办法通过点击不同的选项卡(全部覆盖)。这显然不是很好。如何保持底部的标签可见?
我试图更改我的 PFLogInViewController 子类的 viewDidLoad 方法中的 self.view.frame 或 self.logInView.frame,但它似乎根本没有效果。
ios - 无法修改 PFLogInViewController logInButton 标题
我一直在我的新 iOS 应用程序开发中使用 Parse.com 服务,到目前为止它就像一个魅力,但是我一直在尝试使用 swift 和 Objective-C 中的代码修改 PFLogInViewController 中的登录按钮文本,但是结果相同(无!)
对象
迅速
ios - 如何在根视图控制器(PFQueryTableViewController)尝试在没有用户的情况下进行查询并使程序崩溃之前显示登录屏幕
我希望我正在处理的程序的根视图控制器是一个PFQueryTableViewController,但是,我需要该应用程序来确保用户在PFQueryTableViewController尝试查询之前已登录。
我尝试创建一个RootTabBarViewController其初始视图为的PFQueryTableViewController并将以下内容放入RootTabBarViewController.h 和 .m 文件中:
这是我的 PFQueryTableViewController 子类的 .m 文件:
但是,在加载(根栏视图控制器的第一个视图)并尝试查询viewDidLoad之前,此选项卡栏视图控制器的函数中的代码似乎没有运行,因为我仍然收到异常:PFQueryTableViewController
2014-07-10 20:46:04.226 Plannr [12810:60b] *由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“无法对类型进行比较查询:(null)”
我如何确保登录视图早于EventPFQueryTableViewController? 提前致谢。
ios - Present PFSignUpViewController manually: Parse Framework iOS
I'm using PFLoginViewController and instead of presenting it modally, I am presenting it as a subview so I can have a nice translucent background:

The only issue is that when I select Sign Up, it presents my Sign Up view controller modally which according to my console log, isn't the smartest idea: Presenting view controllers on detached view controllers is discouraged
So what I would like to do is use a separate method for displaying my sign up view controller. I tried this:
But the original Parse method was being called with my custom method being called in addition. I looked at the docs and there is no delegate method for adding your own custom method so how should I go about doing this?
parsing - 在 PFLogInViewController 中添加按钮
嗨,我们可以在创建自定义视图时添加一个额外的按钮吗?我为 PFLogInViewController 创建了一个子类。该按钮已添加,但我无法单击该按钮。是否允许在 PFLogInViewController 子类中添加其他按钮?
谢谢!
ios - Unable to change username value before login validation
Where in the login process would I place code to set username before begin login with the delegate function
The think is i need unique usernames for my b2b app; which is for differents companies and this companies could have the same usernames. From the above, i set the username in pfuser to "company id"+"_"+"user id", and because that i try to set entered username by user on PFLogInViewController for login validation.
I make a custom subclass of PFLogInViewController:
ios - Parse.com EmailAsUsername in SignUpViewController
I just downloaded the latest Parse SDK for iOS (1.2.21) because the change log shows that the EmailAsUsername attribute has been fixed. However while it works for the PFLoginViewController it doesn't seem to work for PFSignUpViewController.
I subclassed both controllers and do the
It works like a charm for the loginViewController however the signUpViewController totally ignores the setting.
Can anyone confirm this behavior or tell me what I am doing wrong?
Thanks
parse-platform - 如何将 PFLoginViewController 与 REST API 一起使用而不是 PFUser?
我正在尝试以一种以后更容易为客户迁移的方式构建我的 Parse iOS 项目,如果他愿意的话。
为此,我尝试使用 REST API 而不是依赖 PFUser 和 PFObjects。
但我喜欢 PFLoginViewController——它非常节省时间。有没有办法可以将预构建的登录/注册流程与 REST API 而不是 PFUser 一起使用?