Questions tagged [keychainitemwrapper]

an Objective-C wrapper for accessing a single keychain item, the sample code was originally created by Apple but now available in modified & modernized (for ARC) forms from a variety of sources.

96 questions
0
votes
1 answer

Using iOS Keychain Services to store additional values

Following this simple example http://iosdevelopertips.com/core-services/using-keychain-to-store-username-and-password.html I see that you use kSecAttrAccount to set the username you want to store and kSecValueData to set the password. For my app I…
Jhorra
  • 6,233
  • 21
  • 69
  • 123
0
votes
1 answer

Keychain iOS not always storing values

I´m developing a couple of iOS applications and i need to share a element between them, that i want to store in the keychain. This element is used in a complex login process with 3 or 4 steps, in each one i need to read the value from the keychain,…
mnuno
  • 1
0
votes
1 answer

How can we save NSArray using KeychainItemWrapper class(ARC)

I want to save NSArray using KeychainItemWrapper class I have come to know that we can store the NSDictionary after reading This Question But its not working This is what I have done so far NSArray *myArray = [[NSArray…
Prashant Nikam
  • 2,253
  • 4
  • 17
  • 29
0
votes
1 answer

Save NSMutableDictionary in iOS Keychain using iOS 6+

I am trying to save NSMutableDictionary in iOS keychain using KeychainItemWrapper classes. But I am not able to save it. I am getting error Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't add the…
iOSAppDev
  • 2,755
  • 4
  • 39
  • 77
0
votes
1 answer

ruby motion KeychainItemWrapper set extra attribute

I have existing KSecValueData and KSecAttrAccount but when I tried to define a new 1 self.username = @keychain.objectForKey kSecAttrLabel it give me undefine local variable, I checked out the documentation ,i thought kSecAttrLabel was initialise as…
Nich
  • 1,112
  • 1
  • 14
  • 29
0
votes
1 answer

iOS: Can not add item to keychain with KeychainItemWrapper

First: I am aware that there are other questions regarding the KeychainItemWrapper already posted. I read them all, but I did not succeed with what should be a really simple task: storing a value in the Keychain (on the device, not simulator). I…
1 2 3 4 5 6
7