cancel
Showing results for 
Search instead for 
Did you mean: 

iOS HWC modification

Former Member
0 Kudos

In the discussion http://scn.sap.com/thread/3279630 i pointed out that I was able to hide the root view controller of the split view controller in the iPAD landscape mode when displaying a workflow app in the HWC.

The problem I am now facing is the width of the detail view controller is still fixed to only fill part of the screen.  Some iOS developers claim this is a limitation of the splitview controller but i do not agree.  The detail view controller is stretched to fill the screen when the default "No Workflow or Message Selected" view is populated.  When the workflow is initiated it adds a subview to the same detail view but does not stretch to fill.


Any other Sybase or iOS folks out there have any clue why the workflow apps do not fill the screen?  I contemplated removing the split view controller and replacing it with a single view but this would require completely re-architecting the sybase HWC app from scratch in xcode...the exact point i'm trying to avoid by developing with HWC to begin with.  I'm quite surprised everyone is happy with the split view for HWC in iPad landscape.  Anyone know if 2.2 fixed this?

Accepted Solutions (1)

Accepted Solutions (1)

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

Here is an excerpt from the docs of a new customization point.  This will likely appear in 2.2 SP02  (an upcoming release).

Hiding the Listview on iPad

Hide the listview on the iPad when in landscape orientation so the Hybrid App opens in the full screen.

When the Hybrid Web Container runs on iPad, it uses a UISplitViewController to display its main views. The list of Hybrid Apps and messages occupies the left-hand view (the master view), while the Hybrid App contents occupy the right-hand view (the details view). By default, the master view hides away while the device is in the portrait orientation, and can be accessed using a button on the navigation bar. The master view is presented side-by-side with the detail view while the device is in the landscape orientation. To hide the listview when using landscape orientation so the Hybrid App opens in full screen, use the customization tag IOS_CUSTOMIZATION_POINT_IPAD_LIST_VIEW.

Regards,


Dan van Leeuwen

Former Member
0 Kudos

Thanks Daniel, that is great news~!

Former Member
0 Kudos

I am using the same thing.But I dont have 'IOS_CUSTOMIZATION_POINT_IPAD_LIST_VIEW' and shoulHideIpadListView function in my customizationHelper.m file.Please help me....:(

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

I believe this functionality was added to SUP 2.2 SP02.  The version of the container that corresponds with this is 2.2.2.6718 as seen in the Settings > HWC > About.

Answers (0)