Jeb Bush took a shot at fellow Republican presidential candidate Donald Trump on Thursday, saying his message about immigration is "not accurate."

Bush was in San Francisco for a campaign event, where he took an Uber cab to show support for the new economy, reports the Los Angeles Times.

Earlier this month, a San Francisco woman was shot and killed by an alleged illegal immigrant who was taking shelter in the city, one of 200-plus sanctuary cities across America that do not enforce most federal immigration laws.

Trump has used the case to promote his immigration agenda, which Bush took issue with.

"I think candidates ought to lay out proposals to solve problems rather than basically prey on legitimate fears and concerns," Bush said, reports the Times.

"The system broke down for [shooting victim Kathryn Steinle] and her family, and you can see why people are upset about that. I don't think it’s appropriate as a potential president to prey on that fear, and frankly, it's not a winning message either. … I have a big disagreement with Mr. Trump about his tone and what he's saying because it's not accurate."

Before Steinle's death on July 1, Trump called out the nation's immigration policies during his campaign announcement speech on June 16.

"When Mexico sends its people, they're not sending their best. They're not sending you. They're not sending you. They're sending people that have lots of problems, and they're bringing those problems to us," said Trump, who later clarified his remarks.

"But I speak to border guards and they tell us what we're getting. And it only makes common sense. They're sending us not the right people. It's coming from more than Mexico. It's coming from all over South and Latin America, and it's coming probably from the Middle East. But we don't know. Because we have no protection and we have no competence, we don't know what's happening. And it's got to stop and it's got to stop fast."

Trump has since reiterated his calls to fix the immigration system, saying last weekend that illegal immigrants "wreak havoc on our population."

Bush and former Texas Gov. Rick Perry, another Republican presidential candidate, both disagree with Trump, saying his views are not in line with the Republican party.

"I do not agree with his words," Bush, speaking in Spanish, said a few weeks ago. "They do not represent the values of the Republican Party and they do not represent my values."