问题
I am implementing salesforce api in my project. I downloaded code from the below link
https://github.com/developerforce/Force.com-Toolkit-for-iOS
But the problem is that i want this api on iPhone not on iPad. When i am going to convert it on iPhone. I am fail. It is typical to convert it because of difference of code like split view etc. I dont want split view just simple api. If you guys source code of it then share. Thanks.
(Note: I am using xcode not phonegap)
回答1:
I think you're confusing yourself by looking at the sample app, the actual api library itself doesn't use splitviews as far as i know. Concentrate on what's in the ZKSforce directory, and not the sample SVNTest app.
回答2:
There is a document link :
http://forcedotcom.github.com/MobileContainer-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html
here is the code:
http://forcedotcom.github.com/SalesforceMobileSDK-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html#//api/name/requestForCreateWithObjectType:fields:
来源:https://stackoverflow.com/questions/7960347/salesforce-api-implementation-on-iphone