I’m trying to force the “portrait” mode for my application because my application is absolutely not designed for the “landscape” mode. After reading some forums, I added these lines...
  • May 15, 2022
  • 0 Comments
I have one of my activities which I would like to prevent from rotating because I’m starting an AsyncTask, and screen rotation makes it restart. Is there a way...
  • May 12, 2022
  • 0 Comments
My application has the following flow screens : Home->screen 1->screen 2->screen 3->screen 4->screen 5 Now I have a common log out button in each screens (Home/ screen 1 /...
  • May 7, 2022
  • 0 Comments
How can one get the dimensions of the screen in iOS? Currently, I use: lCurrentWidth = self.view.frame.size.width; lCurrentHeight = self.view.frame.size.height; in viewWillAppear: and willAnimateRotationToInterfaceOrientation:duration: The first time I get...
  • May 2, 2022
  • 0 Comments