on 03-30-2020 5:20 PM
Hi Folks,
While implementing FUIGridTableViewCell with SAP iOS SDK I observed following issues :
1. Using FUIGridTableViewCell, its appearing as list in iPhone screen however its appearing Grid view in iPad screen.
Attached screenshot of both for reference.. ipad.png iphone.png. Need to know the reason for this design.
2.Since we don't support iPad, our requirement is to implement a Grid view list for iPhone screen. If FUIGridTableViewCell is applicable for iPad screen only, kindly help me the api which is applicable for iPhone screen.
3.While creating application its always create 'Master Detail view controller". Is it possible if we can change the design before creating application like single view controller design.
I hope you will be able to provide the information.Thanks in advance for any help you are able to provide.
Regards,
Ruchi
@Ruchi Shree this is not a supported configuration for the grid layout.
It is completely expected that the UI generated by the Assistant is thrown out... this is not a nice UI for a Fiori Design Language application :). Its purpose is to show how the DataService can be utilized in the UI, and to validate the data coming from the backend. You should *always* replace it with your own UI.
To do this, modify the showApplicationScreen(...) function in ApplicationUIManager.swift.
func showApplicationScreen(completionHandler: @escaping (Error?) -> Void) {
// Check if an application screen has already been presented
guard self.isSplashPresented else {
completionHandler(nil)
return
}
// Restore the saved application screen or create a new one
let appViewController: UIViewController
if let savedViewController = self._savedApplicationRootViewController {
appViewController = savedViewController
} else {
// set appViewController to YOUR app home screen
// one option is to load from Storyboard... UIStoryboard(name: "MyStoryboard", .main).instantiateInitialViewController()
// another option is to initialize programmatically: appViewController = MyHomeScreenViewController()
// note: you can also delete the UISplitViewControllerDelegate implementation in AppDelegate.swift
}
self.window.rootViewController = appViewController
self._onboardingSplashViewController = nil
self._savedApplicationRootViewController = nil
self._coveringViewController = nil
completionHandler(nil)
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruchi, the FUIGridTableViewCell can be used in iPad or iPhone, but it has a different layout when in 'Compact' vs 'Regular' size classes. https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layou.... In Compact size class, it adapts to resemble an ObjectTableViewCell, while in Regular size class it is the 'grid' style row. This is to account for the limited ability of the narrow screen to show columns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Stan.
As i mentioned , our requirement is show Grid layout on iPhone screen not iPad.
kindly help me the api/ui components which is applicable for iPhone screen Grid layout.
While creating application its always create 'Master Detail view controller". Is it possible if we can change the design before creating application like single view controller design.
Thanks in advance for any help you are able to provide.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.