So for the last two weeks I have been working on my GitHub repo https://github.com/satheeshwaran/iOS-8-Features-Demo where in I tried to demo the Share extension introduced in iOS 8. I got to know the way in which I could add SLComposeSheetConfigurationItem
to a SLComposeServiceViewController
but I was not able to figure out how to change the tint color or the text color of a SLComposeSheetConfigurationItem
.
What I have did so far,
See in the above figure I would like to set the description and the My First Share to some color of my choice, also may be I would like to customize the font or something. I dug into the SocialFramework a bit but was not able to get anything out of it.
I saw Evernote's share extension on my iPad and it looks like this,
If you see at the bottom there is an icon and also the text color etc matches the theme of the navigation bar.
Quoting the WWDC 2014 presentation on extension programming,
SLComposeServiceViewController
for standard UI
UI/NSViewController
for custom UI Coming to my question,
- Can I customize
SLComposeServiceViewController
andSLComposeSheetConfigurationItem
to look like this?? - The second question is about the quote, can the default
SLComposeServiceViewController
be customized at all?? or should I go with aUIViewController
subclass to do my own UI. - How would have Evernote done it custom
UIViewController
subclass to duplicate the behavior or usingSLComposeServiceViewController
( I am not sure whether to ask this but I want answers)