iOS Question Keychain custom type ?

Discussion in 'iOS Questions' started by marcick, Dec 11, 2017.

  1. marcick

    marcick Well-Known Member Licensed User

    Which data type can I store in KeyChain ?
    Can I store a map containing custom type ?
  2. Erel

    Erel Administrator Staff Member Licensed User

    1. Convert the map to an array of bytes with B4XSerializator.
    2. Convert the array of bytes to base 64 string with StringUtils.
    Store the string in the keychain. Only strings are supported.
  3. marcick

    marcick Well-Known Member Licensed User

    What to do without you ?
    Thanks :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice