We are developing an ios application, and it consists of three pages: TOP, MAIN, and DETAIL. We would like to fix the TOP and MAIN pages vertically and only the DETAIL pages horizontally.Is that possible?
ios storyboard
You can override two methods for each UIViewController as follows:
// Return whether to rotate automatically or not
override func shouldAutorotate()->Bool{
return false
}
// Return viewable screen orientation
override func supportedInterfaceOrients() - > Int {
// Horizontal (right)
return Int (UIInterfaceOrientationMask.LandscapeRight.rawValue)
// For vertical fixation, click here.
return Int (UIInterfaceOrientationMask.Portrait.rawValue)
}
365 FileNotFoundError in json: What is the difference between these two?
364 winget install-e --id Microsoft.WindowsSDK fails.
372 To find Python openpyxl value coordinates
360 I would like to know if I can retrieve data using pandas grouping.
356 I want to change the format (date and time display) of the legend in chronological order.
© 2023 OneMinuteCode. All rights reserved.