Given that sin A=cos B------------(1)
we know cos B=(90°-B)
we can write (1)as
sin A=(90°-B)
Since A,B are acute angles, A=90°-B
A+B=90°