Project: titanium
Issue TIMOB-19640: iOS9 Spotlight Search isSupported function doesn't work on pre-iOS9 devices
Im using .isSupported() to check if my iOS8.3 device should create indexs for Spotlight search. However, the isSupported call throws an error Code to test with (modified version from the Spotlight search sample app):	// Create an instance of the index	var searchableIndex = Ti.App.iOS.createSearchableIndex();	// Check if Spotlight is supported (since iOS 9)	if (searchableIndex.isSupported()) {	alert('You have iOS9 Spotlight Search');	} Error I am given when used on the actual device: "undefined is not an object (evaluating 't.isSupported')"
Story points: 2