简体   繁体   中英

Edit methods from frameworks

I want to implement the Identity Picker sheet from the Collaboration.framewwork but I want to remove some functions (Add User & Address Book). Is that possible? If yes how?

The Objective-C API has no means of doing it. Usually, when Apple omits some functionality, they have a good reason for doing it. In this case, the identity picker is for picking identities for ACLs. Why would you want to restrict the user's ability to select whatever identities he or she wants? At least that's Apple's (possible) thinking.

If you want to restrict the choice to actual users, you'll probably need to create your own sheet and populate it by using the core services methods.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM