Young Apistogrammas look like female. I've kept and bred some Apistogramma species myself in the past. It took months before I saw male traits developing. But I've kept them at 24°C all the time.
In most ovoviviparous livebearers there are two reasons why only females will be born. If the father is an XX male instead of an XY male. A XX male has an autosomal locus with two alleles, a and a. While a female has got an autosomal locus with the alleles, A and A.
An XX male crossed to an XX female can only reproduce females. So, this has got a genetic reason why only females will be born.
If it's an XY male crossed to an XX female, both sexes can be born. But if you keep them at 24 °C and higher all the time during the whole pregnancy (later on has no effect), more males (till even just males) will be born. Between 22°C-23°C, both sexes should be in there. At lower rates, more females will be born. This is not a 100% guarantee but most of the time it works.
I've deliberately mentioned: During the whole pregnancy. For when they're not pregnant, a different temperature could be used. For if you keep them at the same temperature all the time (so also when they're not pregnant), both sexes will be born at some point. For it's actually the temperature regulation during pregnancy (putting it higher or lower) that makes the difference in comparison to the normal water temperature to get more of one certain sex in the offspring.
The only species that this process works the other way around is in superfetative dwarf livebearers such as Heterandria formosa, Neoheterandria elegans, Quintana atrizona, Phallichthys tico and Carlgubbsia kidderi. Lowering thetemperature during the whole pregnancy results in more male. At higher water temperatures during pregnancy, more females will be born.
While your water temperature is higher, the water temperature trick isn't of any worth in this case. Which makes me think that your males are XX males. XX males occur quite often.
Hop this may give you some more insight of how it works.