[TIMOB-1115] SelectAnnotation causes a crash if no args are passed
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:55:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | iOS |
| Labels | ios, iphone, mapview |
| Reporter | Blain Hamon |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T02:44:24.000+0000 |
| Updated | 2011-04-17T01:55:15.000+0000 |
Description
We ensure UI thread before ensuring a single argument, so it throws an uncaught exception.
Also, wouldn't selectAnnotation(null) be valid to deselect all annotations?
This will be a quick fix. Claiming it.
(from [ea1f5ba641014425875cc729553ac469cc5120e8]) Closes #1115: Selecting 'null' annotation now deselects all annotations. http://github.com/appcelerator/titanium_mobile/commit/ea1f5ba641014425875cc729553ac469cc5120e8"> http://github.com/appcelerator/titanium_mobile/commit/ea1f5ba641014...