问题标签 [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 - PFLogInView(Controller) 中已弃用的属性
编译现在已经运行了一段时间的 iOS 应用程序,我看到以下关于属性:signUpLabel 和 externalLogInLabel
不推荐使用这些属性必须有一些充分的理由。但是我们怎么做而不是使用它们呢?这意味着我们如何更改工作应用程序中的代码?
ios - Attempt to present ViewController on ViewController whose view is not in the window hierarchy
I have looked through other Question on SOF, they are close to my issue but not exactly the same.
I"m trying to load ParseUI by subclassing PFLogInViewController with MyLogInViewController, I use viewDidLoad but the animation is not showing (since it is already loaded I supposed) and the window hierarchy warning below shows up. Then I tried viewDidAppear but the loginView now repeatedly showing up nonstop. (Maybe because of the view keeps appearing?)
I tried viewWillApear, animation did't work.
Warning: Attempt to present <myloginbeta1.MyLogInViewController: 0x7fa0185f0b30> on <myloginbeta1.MyLogInViewController: 0x7fa0185d4110> whose view is not in the window hierarchy!
I tried viewWillLayoutSubviews, nonstop repeating.
I tried viewDidLayoutSubviews, animation didn't work.
Warning: Attempt to present <myloginbeta1.MyLogInViewController: 0x7fa0185f0b30> on <myloginbeta1.MyLogInViewController: 0x7fa0185d4110> whose view is not in the window hierarchy!
Is there anywhere I should try with the animation properly come up and no warning message?
Here is my code:
Thanks and any help would be appreciated! :-)
Updated: I have checked whose view is not in the window hierarchy before I post this question. The solution by using viewDidAppear does not help and the loginView will keep repeatedly showing up.
ios - Swift Unbalanced 调用开始/结束外观转换
美好的一天,我是新来的,希望这个问题不会太傻。
我Unbalanced calls to begin/end appearance transitions for <UINavigationController: 0x7fd61043fce0>在运行时收到警告。但是,我在我的代码中找不到任何地方,也找不到UINavigationController项目中的任何其他文件。
我错过了我应该检查的东西吗?
ios - IOS 解析不区分大小写的用户名注册和登录
在我的应用程序中,我使用 Parse 作为后端。我想将用户名转换为不区分大小写。我发现这很酷,但我的问题是我已经有很多包含骆驼式用户名的帐户。
我的想法是使用云代码来检测登录尝试。如果我可以在注册或登录之前运行代码,我就可以将传入的和存储的用户名文本转换为小写,比较它们,然后就可以了。
这样的事情可能吗?我对解析云代码不是很好,可以这样做吗?
ios - 如何自定义“登录错误无效的登录凭据”?
我在 Parse.com 上遇到登录问题。
当用户输入错误的用户名或密码信息时,会显示一条消息:
登录错误无效的登录凭据
这在功能上很好,但我无法弄清楚这条消息来自哪里,以便对其进行自定义。
我首先想到的方法
将是我正在寻找的。但是试了之后,好像不行。即使我覆盖它,旧消息仍然出现,在我覆盖的方法之上。
关于如何更改此消息的任何想法?
ios - PFLogInViewController 徽标展平
自定义(通过子类化)PFLogInViewController 时;我的标志有问题。我使用了一张正方形的图片,由于某种原因它被扭曲了,实际上是扁平的。
这是代码:
难道我做错了什么?还是问题出在不同的地方?
ios - 在 iOS 项目中开始使用 parse.com 的 PFLogInViewController 和 PFSignUpViewController 后出现链接器错误
嗨,我已将解析添加到我的 iOS 项目中,并尝试使用 PFLogInViewcontroller 和 PFSignUpViewController。我添加了所有必需的库,特别是 social.framework 和 accounts.framework
但是在初始化“PFLogInViewController”和“PFSignUpViewController”后我得到了6个错误,我写的代码如下:
如果我删除这些行,则构建成功,任何人都可以指导我缺少什么和缺少的地方,以下是错误:
架构 i386 的未定义符号:
"_ACAccountTypeIdentifierTwitter",引用自:-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
“_OBJC_CLASS_$_ACAccountStore”,引用自: objc-class-ref in Parse(PF_Twitter.o)
“_OBJC_CLASS_$_SLComposeViewController”,引用自:Parse(PF_Twitter.o) 中的 objc-class-ref
“_OBJC_CLASS_$_SLRequest”,引用自: objc-class-ref in Parse(PF_Twitter.o)
"_SLServiceTypeTwitter",引用自:-[PF_Twitter setAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
ld:未找到体系结构 i386 的符号
clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
我可以使用故事板使用 PFLogInViewController 吗?
ios - 使用 PFLoginViewController 时只有一半的屏幕可见
我正在尝试使用PFLoginViewController来显示登录和注册屏幕。我看没问题,但只能看到一半的屏幕。
下面是我的代码,也是我在模拟器上看到的。我不知道出了什么问题。带有 logo.jpg 的东西?(logo.jpg 尺寸为 916x916)
代码:

如果您想复制和制作任何模组,请上课: 导入 UIKit
最后,这是屏幕:似乎用户名和密码文本字段被隐藏了,只显示了一半的登录按钮。

ios - 解析 LogInView 徽标图像非常小
我正在使用 Parse 作为我的后端和 Swift 作为编程语言来构建一个 iOS 应用程序。在我的viewDidAppear函数中,我调用以下函数:
但是当我这样做时,Parse UI Log In View 上的徽标在视图上移动了很多并且将图像缩小得非常小!
如何设置徽标的大小和位置?
我应该使用什么尺寸和位置来与标准 Parse 徽标相似?
我的 IMAGE 应该是什么尺寸?我应该包括正常尺寸和@2x 和@3x 尺寸吗?