I am working on an application where I am doing some code in a class that is derived from NSObject, and in this class I want to call another class that is a class of type UIView and add it on top of the current view or, if possible, on the window, Maybe someone will someone tell me how I will do this since I cannot call [self.view addubview: view] from a class like NSObject?
Also, I can’t switch from my current class, since here I am doing an action (loading with viewing progress), which will take time. so I have to add subview on top of my current view only from this class.
and yes, I have to remove this uiview and later when the download is complete.
Thanks in advance
source
share