I follow "https://segment.com/" to implement analytics . But when I use UIAlertController to show alert with title , my app was crash!shows an error
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'screen name () must not be empty.'
I am using swift for development. I just initialise the segment in AppDelegate at didFinishLaunchingWithOptions. I am not using any of alias, group, identify, page and track calls .
In my case I am setting title as empty string so instead of setting blank "" in title,I set tittle to nil. And It is working, App is not crashing now.