Apple's virtual assistant Siri was allegedly used by Pedro Bravo to help hide the body of his roommate Christian AguilarReuters

A defendant in an on-going murder trial is accused of having asked the iPhone's virtual assistant Siri for help in hiding his roommate's body.

Pedro Bravo, 20, is accused of murdering Christian Aguilar in 2012 after an argument over the defendant's ex-girlfriend who Aguilar had dated.

Bravo's trial has heard about evidence detectives gathered from the defendant's iPhone, including the fact that he used the phone's flashlight nine separate times from 11.31pm to 12:01am on the day Aguilar disappeared.