function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Native app with UIWebView



I want  build a simple App.

Native  not Hybrid. I have some Buttons on the main Screen, which opens a Webview to a SF Org ( Lists, Links  etc)

I use to start the  Sample app with SFRest an Oauth.


How can I build this to open a  Webview which open when i press the Button.





There are many ways to present a UIWebView that ultimately depends on your app's navigation: push it onto a UINavigationController, present it modally, insert it as a subview in a parent view, etc.


You might like to review Apple's documentation on UIViewController.


I can log in and i can open  a webpage, that's works


But how  I use the scope that I dosn't log in again.

I want use: NSString *urlStr=@"/00U/c";


I have no Ideas?



You should have said so. :)


You might like to see how I open web tabs in ForcePad.


yes i try this with /secur/frontdoor.jsp?sid?accesstoken&retUrl...
but i get evertime a new window to login.
i have already a login and would like to use it.
like tis
... * creds = [SFAccountManager sharedInstance].credentials
and then
when log coords.isAuthenticating; is false

any ideas ?