Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does SLComposeViewController permit setting the location field?

When presenting an SLComposeViewController in an iOS 7 app, the location field always defaults to "none", even when the associated Twitter and/or Facebook accounts have location privacy settings that permit display of their current location.

Is this the expected behavior of SLComposeViewController? Is there a public API for triggering a location lookup, or for setting the location directly?

like image 624
sirvine Avatar asked Jun 06 '26 18:06

sirvine


1 Answers

Unfortunately you can not set the location manually. A user must set it explicitly.

Looking at the docs, there is no mention of 'location'.

like image 136
djibouti33 Avatar answered Jun 09 '26 08:06

djibouti33



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!