Add source app to the header of FBSDKShareDialog - ios

I'm trying to add name of the app to header of FBSDKShareDialog as it shown on first screenshot but can't find property that responsible for it. I'm sharing FBSDKSharePhotoContent, it's shown on second screenshot. Do anyone know how to implement this?

There isn't a property that you can set in FBSDKShareDialog. The app name is taken from your app settings page. You will need to set up your app settings correctly for this. You can find additional information here.

Related

How to change an iOS application icon programmatically with image from URL?

There is a lot of useful information on how to change the app icon programmatically using "setAlternateIconName" in Swift.
According to the documentation of apple, the name of the alternate icon has to be declared in the CFBundleAlternateIcons key of the app's Info.plist file.
Now, I don't want to use pre-saved jpg./png. images to change the app icon. Instead, I'd like to download an image from a URL from within the app and us this downloaded image as the app icon. Obviously, it's not possible to just add the URL to Info.plist in the appropriate field..
Is there a way to solve this problem?
Best,
Nik
It's impossible to set the app icon to custom icon other than those set in CFBundleAlternateIcons in Info.plist

How to customize URLEmbeddedView in objective-c iOS?

In my app I'm using previews of every links. To do this I tried URLEmbeddedView
to add this url preview support. But this is giving me a view like
I need to customize this view like, the image should be go up and the text and other details should be placed below the image. Please help me to solve this layout issue.

XCode Custom Keyboard's additional settings

I am trying to figure out how to create additional settings inside of the Settings app on iOS. Right now I am using the Settings.bundle, and it is putting the settings underneath the original keyboard settings. But from what I have seen from other custom keyboards, you can access additional settings by going to Settings->General->Keyboard->Keyboards->Your Keyboard Name->Additional Settings.
Right now I can get to as far as Your Keyboard Name, I have no idea what to implement to be able to make the Additional Settings.
Normally I would google this, but I do not even know what to look for to find this, and all my searches lead me to Settings.bundle.
Any help would be appreciated, thanks.
Also I am doing this in swift, but I do not need the answer in swift if it is not known, I can figure it out myself after I get that nudge.
Never mind, I have found the answer. You need to go into the info plist of the extension, expand nsextension, expand nsextensionattributes, and inside that, set requestopenaccess to yes, that will expand the keyboards settings to allow you to set open access or not

iOS - How to build a subview with "Passcode Lock" look - like in a settings.bundle

I would like to have a subview in settings.bundle which works like the Passcode Lock section in settings -> general.
More specifically, I would like to have a subview with the functionality that I can change an access key used in my app, asking for the old one to change for a new one.
Some one have some code, clue, tutorial?
Thanks in advance.
Have you looked at the apple documentation? It explains how to do this.
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html
Or check this tutorial http://www.informit.com/articles/article.aspx?p=1846575&seqNum=12
If you are wanting to make it look JUST LIKE the passcode lock screen it will be hard to do. Apple limits what a developer can do to the settings menu for their application. You could just put 4 text boxes on the screen but it won't be able to automatically go to the next box since you cannot add code to your settings bundle.

How do I separate the app icon from the launch image in an iOS app

Thanks for the time to look. I have a weird problem. my Launch image (AKA Splash screen) seems to automatically be tied to my App icon. so I cant change one with out changing the other. In other words, when I add a new app icon, it changes the launch image to match.
I am guessing this has something to do with the .plist file, but I cant figure out where to fix it.
Thanks for the time!
You can specify them differant in plist file. See here
ALSO
Check Apple's link for default name of different files. You just need to rename with default name and add the image files in your project.

Resources