Orientation on ios 8 - objective-c

I have 6 tabs in my iPad application, all of the controllers have a single baseViewController. In my first tab there is a collection view and different layouts for landscape and portrait mode. When I launch the application and rotate for the first time, all tabs' controllers are loaded simultaneously. Every time I rotate the device it calls orientation methods for all controllers. Before iOS 8 everything was working fine but this issue occurs only in iOS 8.
Can anyone suggest a solution?

Related

Xcode 6 ViewController content is smaller than the simulator screen

i'm developing app for both IOS7 & IOS8, and using storyBoard with size classes enabled.
app works fine in all simulators from iPhone 4s IOS7 to iPhone 6+
but the viewController is smaller than the screen in iPhone 5 with iOS7
app supports different orientations, i tried and canceled orientations but didn't work. i rested the simulator content, didn't work. I tried to change the initial view controller, didn't work. I cleaned the project, didn't work
To run your application in fullscreen in iPhone5 you must provide Launch Image for iPhone5 with resolution 640x1136.
If you are not including Launch Image of the size iPhone5 require then app will run in the centre of the screen, showing black area at top and bottom.
You can also refer here for more information.
Make sure there is a Default-568#2x.png in the supporting files

iPhone 6+ does not have navigation bar back button item

I have developed an app in Xcode 5 before the new versions of iOS and iPhone 6/6+. It was working well in Xcode 5 with its simulators (iPhone retina 4 inches, etc.) but now that I have updated to Xcode 6 and I run my app in new simulators, it works great in the iPhone 4s, 5, 5s, and 6 simulators but not in the iPhone 6+ simulator.
I have a table view in my first view controller. If you tap on a cell the push segue brings you to an another view controller. There are two problems:
In every view controller, the top of the object (e.g. table view or a UIImage) is not shown and the scene is deficient.
when we go to the second view controller there is no back button item on the top in order to return to the home view controller.
How can I fix this? What is the problem?
I believe there is a bug in the iPhone 6+ simulator - I have also observed a similar behavior, but only on the simulator. Running the app on a real iPhone 6+ works as expected - the navigation bar is there as are all the buttons.
Its because iPhone 6+ simulator screen is too big to fit in some mac screen.
In a view controller the top object is not cut off, just use mouse scroller to scroll up to see the top object.
In second view controller again use mouse scroller to see back button.

Universal Storyboard Sizing Popover for iPhone and iPad

I am using a universal storyboard and sizing to handle both the iPhone and iPad. This has been working well except when it comes to popovers. That is a screen that will be a popover on an iPad but a modal screen on the iPhone. I am finding that the only size class that will impact layout for both is wAny hAny I want to use Final Values for each so that the behavior will be as I want for each device. However, unlike regular screens this type seems to only respond to wAny hAnyfor both iPhone and iPad. Should I not be able to set each separately to accommodate the different devices?
Since iOS 8, you don't need to handle popovers separately on different size classes. They are handled automatically by a UIPresentationController.
If the modalpresentationStyle property on the UIViewController is set to UIModalPresentationStyle.Popover, UIKit will present it, using a UIPopoverPresentationController, as a popover on a regular size class (iPad) and modally on the compact class (iPhone).
If you're using storyboards you can control it on the segue and setting the segue attribute as Present As Popver:

Xcode 6 custom launch screen

I am trying to make a custom launch screen based Xcode 6 new feature following the content given here. I don't understand how can I manage orientation of launch screen on iPad. My launch screen contains a horizontal rectangular image in the centre. Using size classes I can set different constraints and views for iPhone in landscape or portrait mode. But unable to do the same for iPad. Also how can I lock the orientation of Launch screen when creating a launch screen using the above method ?
You can not do this for the iPad because both orientations fall under the regular width and regular height size class.

Edits to app delegate to lock in portrait ios 5 and 6

I'm having a few issues with stopping rotation in both ios 5 and ios 6. I want to lock the app into portrait. I'm using a nav bar based application, but the nav bars on some pages are hidden (if that makes a difference).
I'm not quite sure what edits to make in the app delegate, to disable autorotation and lock it into portrait to target these versions of iOs, any ideas?
Have you checked .info plist file?,if not then see supported inteface orientation and discard orientations which you don't want in your app.