Did Facebook break UIActivityViewController on iOS with its latest app update? -
two observations:
one
it appears app use share sheets (aka uiactivityviewcontroller
), have provide either:
- an nsurl 1 of activityitems, or
- a uiactivityitemprovider call
super initwithplaceholderitem:
must take nsurl argument
you used able share plain ole nsstrings
two
there appears no way share text facebook via uiactivityviewcontroller
of latest update. text stripped away.
--
are others running or me? used able share text facebook... literally changed.
how can share text facebook uiactivityviewcontroller
?
(first of sorry bad english !)
i encountered exact same problem , researches had lead me explanation :
the last facebook app version must come implementation of app extension. therefore, when app installed, extension takeover apple "native" facebook share, refusing kind of share url share.
that's why can share text when fb app not installed (fb icon visible), can't when fb app present (fb icon not visible).
you can see if try track activity type :
- when fb app not installed, activity type uiactivitytypeposttofacebook (which apple sdk native tool)
- when fb app installed, activity type become com.facebook.share (or that)
i don't know if facebook planned "correct" had made clear automatic text should not added user's post (that's on android). think have live it.
Comments
Post a Comment