偏好设置中的密码

发布于 2024-09-03 01:50:30 字数 287 浏览 2 评论 0原文

我想在设置应用程序中设置我的应用程序的首选项。我已经阅读了使用 settings.bundle 创建 iphone 应用程序首选项的文档。但文档只讲述了如何设置值以及如何从首选项中提取值。但在我的应用程序的设置应用程序中,我使用它来重置我的应用程序密码。因此,如果新密码和确认密码不相同,我需要弹出警报视图。那么我如何从我的应用程序代码中控制设置应用程序来弹出此警报视图。例如,safari 应用程序在设置应用程序中有其首选项。当你点击清除cookies时,它会弹出一个警报视图。我想实现与此类似的东西。

干杯!

/ f0rz

I want to set the preferences of my application in the settings application. I have gone thru the documentation for creating preferences for iphone applications using settings.bundle . But the documentation only speaks of how to set the value and extract the values from the preferences. But in my settings application for my app I am using it for resetting my applications password . So I would require to pop-up an alert view if the new password and the confirm password isn't same . So how can I control the settings application from my application code to pop-up this alert view.For example, the safari application has it's preferences inside settings application . When u click on clear cookies , it pops up an alert view.Something similar to this I want to implement .

Cheers!

/ f0rz

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愿与i 2024-09-10 01:50:30

你不能。

我建议您在应用程序内进行设置,这样您就有更多的控制权。

You can't.

I would suggest having your settings in-app, so you have a little more control.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文