How to implement Login with FaceBook in iOS app - ios

I want to implement an app which uses FaceBook login to enter the app. How can I do this. I have seen few guidelines like this
https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/
I want to support iOS 3.0 and above. But really confused how to implement this. Can some one point some useful tutorials ?
Thanks

What you are looking for is called SSO (single sign on) for Facebook.
You can use Facebook code as a starting point.
You would have a serious difficulties supporting iOS 3.x because Apple doesn't support it anymore, With the new xCode you can submit apps from 4.3 and above so consider if you want to waste your precious time debugging on something irrelevant in most cases.

you can use this code
http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app

Related

Best approach for iOS social integration

I have recently faced up to integrate social networks with iOS.
In the past, I have done so many things that deal with social networking integration and I thought, it was quite easy thing for me.
But had no chance to work with it more than a year and now I was trying to do it and there are too much complex things which is related to this.
It was much different when I was doing in iOS 5 and FacebookSDK was upgraded too much.
Found that ShareKit have the most potential to be used but it seems like too heavy for simple integration.
Was liked to use Social.framework or iOS Facebook SDK and it also have confusion.
What happens if the social account registered in settings and Facebook app are different?
Seems like UIActivityViewController is the easiest way but seems like to have iOS specific version issues.
So I need any suggestions for experienced developers which is the best way to integrate social networking and do whatever I want.
I want to build a new module which do login, get basic info, and publish photo and videos

disabled feature in iPad app

i want to release an iPad application to app store. in my application on dashboard there are six buttons and on tap they open six different screens. but among them one is disabled. User is unable to do anything with it. We just kept it in the app as we are going to implement that feature in the next version. is that fine? is there any chances that my app will get reject by app store guys because of this.
Any help would be appreciated. Thanks in advance.
As per my experience Apple will Reject your application saying that either you have to implement that functionality or you have to remove that disabled button.
it may be rejected based on AppStore Review Guideline:
2.9 Apps that are "demo", "trial", or "test" versions will be rejected. Beta Apps may only be submitted through TestFlight and must follow the TestFlight guidelines
it would be more reasonable to implement the functionality; or not showing such features which are not part of the application at all – none of those cases cause rejection.
Why don't you add like a simple alertView saying « This feature will be available in the next version, stay tuned ! » or something ? Would be a way better UX overall. Either that, or hide the button for now. Either way, don't let a button do nothing with no user feedback, this sounds terrible.
I don't think app store will reject your iPad application. You should use rather web view control(in Android) in which you can show any web page or something like that, if you want to provide the facility that after installation of your app, uses can get the updated details from it. Just give it a thought.

Making a login screen for my iphone app

im facing some difficulties making a login screen for my app. First of all im a noobie around this... im actually creating this a form of learning... my app is a simple calculator... so... first thing i need to know is: Which template should i use for this kind of app (one that has multiple views)second is: how can implement a new view?third: How do i transit between views?
the big point here is not the login screen but the transition between views! Thank you all for the support!
ps: im using the latest version of xcode and iOS dev libs...
You can see this sample to learn the basics.
I recommend you take a look at the Stanford iOS Lectures (Available for free download) in iTunes U. There's actually an example of a Calculator app in Lecture 2. It's a good place to start.

iOS Changing App icon at runtime

I want to change my app icon at runtime. I read other similar threads on SO, and they say that it is not possible using Apple sanctioned APIs. One of the responses mentioned that its possible using restricted APIs, but did not elaborate.
I understand that if I use restricted APIs, my application scope will be reduced to jail-broken devices only. I'm ok with that, but how do I implement this feature.
Sorry, I cannot indicate any research effort for this question because I have no idea how to go about it or even how to get started on this.
Thanks in advance :)
Although this is an old question, I recently discovered this is now possible, as of iOS 10.3:
https://developer.apple.com/documentation/uikit/uiapplication/2806818-setalternateiconname
...using the UIApplication.setAlternateIconName(_:completionHandler:) API.
Note however you are limited to using icons which are already shipped as part of the app bundle.

Facebook 3.0 SDK Beta - should i use it in a final deploy?

i need to integrate Facebook to share some links within my app. I´ve never used the "old" SDK before. Just created a dummy project to test it.
After reading the announcement about the 3.0 SDK beta, i´m interested about using this beta version within a final app-store app. What do you think about? Does that make sense? I just would need it for sharing links.. I would love to use 3.0 because of the easier integration, so therefore my question...
Thanks for your opinion..
It actually depends on how much risk you are willing to take.
My opinion is that the integration of the old sdk is not that difficult. More over it is safe. Besides there are official tutorials showing you step by step what to do:
iOS Tutorial #socialchannels
Mobile Feed Dialog
The sdk 3.0 is a gigantic step forward. Anyway I'd just wait until it is out of beta and then push an update.
I'm using it in an app. I haven't encountered any show stopping bug as of now.

Resources