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
chrisx01chrisx01 

Native app with UIWebView

Hello,

 

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.

(http://www2.developerforce.com/en/mobile/getting-started/ios#native)

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

 

Chris

 

jhersh0jhersh0

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.

chrisx01chrisx01

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?

 

jhersh0jhersh0

You should have said so. :)

 

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

chrisx01chrisx01

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
/secur/frontdoor.jsp?sid?creds.accesstoken
when log coords.isAuthenticating; is false

any ideas ?