Yıldırım said it remains "unclear" why the helicopter went down and added that an investigation had been launched.
However, pro-Kurdish news sources said it was shot down in the village of Qude in Afrin's Rajo district.
Earlier, President Recep Tayyip Erdogan said a helicopter had been shot down without saying who was responsible.
The Turkish military said in a statement that two soldiers were killed when its attack helicopter crashed and was destroyed at around 1 p.m. local time (10 a.m. GMT).More news: Turnover: Cavaliers overhaul roster with stunning series of trades
Turkey launched a military offensive on January 20 to oust the YPG from Afrin, citing national security.
"At this stage, we can say that one out of two helicopters was downed".
"We are in a war".
Ankara says the YPG is a "terrorist" offshoot of the outlawed Kurdistan Workers' Party (PKK), which has waged a three-decade insurgency inside Turkey and is blacklisted by Washington and the European Union.
Turkey opened a new front in the multisided Syrian civil war, when it launched an air and ground offensive against YPG fighters on its southern border with Syria last month.More news: Instagram are testing out Snapchat-style screenshot notifications
The Turkish military uses the term "neutralized" in reference to terrorists captured dead or alive, or those who surrender during the operations.
Four more Turkish soldiers have been killed in northern Syria, the Turkish military announced late Saturday, bringing the day's death toll to 11 in what has been the most lethal day since Ankara's offensive on Syrian Kurdish militia began.
Erdogan has promised to sweep the militia from Turkey's southern border, a move that could put Turkish troops in confrontation with US forces on the ground in Syria.
In a statement, the military said the Turkish Armed Forces had destroyed 19 YPG targets and "neutralized" 86 more militants during operations since February 10. Seven Turkish civilians have also lost their lives.More news: Encounter underway in Srinagar's Karan Nagar
- North Korea's Kim Jung Un invites South Korean president for summit
- UP: Student beaten to death after minor argument
- S. Korean president's approval rating stays high ahead of Winter Olympics
- 3rd Women's ODI: India lose to South Africa by 7 wickets
- Australian sites among thousands hacked to include mining script
- Amid Opposition boycott, Jaya's portrait unveiled in TN Assembly hall
- A 17-Year-Old Snowboarder Chloe Kim To Dominate Winter Olympics 2018
- Zeid urges worldwide action as violence soars in Syria
- House GOP to Continue Dossier Probe Without Memos
- 'We are at WAR' Turkish helicopter SHOT DOWN in Syria killing soldiers