Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MAFLogon iOS - how to customize port and disable 'Show Detail' switch

Dear All,

As title above, May I know how to customize MAFLogin setting profile at server port for http/htts and disable 'Show Detail' switch.

Thank you.



Former Member
Former Member replied

Hi Marcus,

You can set default values for server port for Https/Http in the MAFLogonOperationContextDefaultValues.plist which is inside MAFLogonManagerNG.bundle. In the plist, for the key idMAFLogonOperationContextTypeRegister you can add two new items keyMAFLogonOperationContextServerPortSecure (for HTTPS) and keyMAFLogonOperationContextServerPortNonSecure (for HTTP) and set the default values to it.

And to disable the Show Details switch you can use the following code.

-(void)willRenderUIFromUIContext:(MAFLogonUIContext *)aUIContext



    [[[[aUIContext rawValue] objectForKey:keyMAFLogonUIContextGroupDescriptors] objectAtIndex:1] setValue:[NSNumber numberWithInt:1] forKey:keyMAFLogonUIGroupDescriptorIsHiddenByDefault];





0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question