The little girl from Town Two went missing while playing with friends last week and her body was found a day later, stuffed in a plastic bag near her aunt’s house.
Inside and outside court, Khayelitsha residents protested against the accused getting bail.
Before proceedings could get under way, court officials asked people to leave the gallery as it was too full.
Thabo Titus and Thabiso Mtshanguta appeared in court on the charges of murder.
State prosecutor Andrew Adam said the State opposes bail for both the accused and asked for the matter to be remanded for bail application.
VICTIM: Iyapha Yamile, 4
Iyapha’s father Danile Ngongoshe said outside court he agrees with the State in denying bail for the two accused.
“There is no need for people to see them in our community, they must stay locked in jail,” he said.
Danile said the community is so angry that if the accused were released, the community would kill them and jeopardise the case.
“We are happy with the support we are getting not just from the community, it is not what I expected, it’s a surprise to me the way they are behind us,” he said.
Magistrate Vernon Jantjies postponed the matter until 29 May for bail application and the accused are to remain in custody.
The suspects moaned after the magistrate postponed the matter, frustrated that they will be spending the rest of the month behind bars.