I want to show a progress bar while my iPhone app is uploading an image to Facebook. Is it possible?
Can I do it with every FBRequest that I make? I also use FBRequest to check extended permission and sometimes takes a lot of time.
Thank you.
I want to show a progress bar while my iPhone app is uploading an image to Facebook. Is it possible?
Can I do it with every FBRequest that I make? I also use FBRequest to check extended permission and sometimes takes a lot of time.
Thank you.
For the progress bar there is a little hack you can do. In the
FBRequest.h
file add this line in theFBRequestDelegate
protocol:After that in the
FBRequest.m
file add this function:Now your delegate will receive a message every time more data it's posted to the server. So basically if you implement this into your delegate you should see some activity in your log:
Let me know if you have any problems hacking this into the current Facebook SDK.
You can't know when it gonna log you in but you can put an UIActivityIndicatorView. You start it when you click on publish button and you end it when you enter the 'didConnect' method