You have Twitter accounts and the app is authorised to use them on your device? Do you invoke requestAccessToAccountsWithType
before you try to get the list of accounts?
Check the example below how the list of accounts is retrieved by first requesting access and only if granted by the user retrieving the list of accounts
https://dev.twitter.com/docs/ios/making-api-requests-slrequest (in particular lines 32-42).