Don’t choose any aspect till voice over announcement is full upon again navigation in IOS swift

[ad_1]

I’ve a view controllers (x,y,z) from which I can navigate to B. From B I can navigate to C, D, E. The screens C,D and E have an in depth button on the correct prime. Tapping this brings the person on to view controller (X,Y,Z) primarily based on which view controller launched B.

I have to make an announcement when person faucets on the shut button like

“Display closed. You have got returned to X”. -> If X launches B

“Display closed. You have got returned to Y”. -> If Y launches B

“Display closed. You have got returned to Z”. -> If Z launches B

I did the implementation to make the announcement when person prompts shut button however whereas that announcement is being made, the announcement will get minimize off as quickly as person returns to display (X, Y, Z) as a result of voice over instantly selects the primary aspect and that cuts off the prevailing announcement.

Is there a code that I may write to attend till the present announcement is full publish which the main target may transfer to the primary aspect on screens x, Y, Z and skim out that aspect.

[ad_2]

Leave a Reply