在iPad应用上管理多个用户的最佳做法是什么? [英] What are the best practices for managing multiple users on an iPad app?

查看:296
本文介绍了在iPad应用上管理多个用户的最佳做法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPad应用中设置多用户功能的最佳做法是什么?

What are the best practices for setting up multi user functionality in an iPad app?

我正在尝试启动iPad的ios项目,该项目将创建新的用户名,和密码,以及在iPad上本地管理给定设备上的不同用户,以便访问应用程序本身。我们首先想到了当您第一次打开应用程序时管理员所做的事情。

I am trying to start an ios project for iPad which will create new username, and password, as well as managing different users on a given device locally on the iPad in order to access the app itself. Something like what keeper does when you first open the app comes into mind.

实现这样的目标最合适的做法是什么?任何人都可以点我在正确的方向?

What are the most suitable practices for achieving something like this? Can anybody point me in the right direction?

推荐答案

我选择的解决方案是创建一个表与核心数据和存储的用户名和密码的mod5表示。不幸的是,我看到它的每一处都显示钥匙串只保存了它假定为使用该设备的唯一用户的密码。

The solution I opted for is to create a table with Core Data and store username and a mod5 representation of the password. Unfortunately everywhere I looked it showed that keychain only saves passwords for what it assumes to be the only user using the device.

这篇关于在iPad应用上管理多个用户的最佳做法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆