TweetSheet & FacebookSheet initial text - ios

I have been searching the net for a while, but can't seem to find an answer, so hopefully someone in here will know.
I am using TweetSheet & FacebookSheet for users to post their scores after a game. I have the initial text set there with some text and their score, but the user is able to edit this message, meaning they could easily write whatever score they want in there. Is there a way to stop the user from being able to edit my initial text?
Thank you

No, you have no control over the user editing your default text when using the sharing sheet. As soon as you present the sheet, the user can change the text to whatever he wants. If you must make a post with immutable content (not recommended, for the user's sake), look into making an SLRequest.

Related

Customising the Decimal pad in my app

Swift...
So I've got an existing app and I'm working on its appearance. The current task is customising the decimal pad that pops up when the user hits a textField.
I've looked around on how to make it but it always seems that you have to go into the iPhone/ipad settings and add the custom keyboard.
eg. This StackOverFlow Question
and they all seem to point to this same tutorial..
iOS 8: Creating a Custom Keyboard
My problem is that I don't want the user to have to go into settings.
So the question is....IS THIS POSSIBLE?
The following pic is what I want to use. I have made this in an XIB file through adding a target keyboard which makes the new folder with KeyboardViewController.swift , info.plist and NumPad.xib. Though i think I'm on the wrong track, can someone point me the right way please.
Also anyone know the exact dimensions this view should be.. assuming what I'm asking is in fact possible. Let me know if I'm not being clear enough!
NumPad.xib(pic)
Many many thanks,
Steve
SOLUTION: Thanks to Andrea for correcting my search keywords. It led me to this Stack Question which hopefully sends some others to the correct end of the internet that have mistakes custom keyboard with custom input views!
Sure it is possible without going into settings, but they are called custom input views.
You should look into inputViews here what Apple says about them Custom views for data input.
Basically when the user press a text field instead of loading the usual keyboard it loads an inputView that you specify, pay attention that custom keyboard term is misleading. If you google for tutorial you'll find most probably link like the ones that you found.
For a practical example check this tutorial or this, is a little bit old, but the principle are still the same

adding a text field on press of a button on a view in iOS

I have made a resume maker app in iOS. It only has two fields for the work experiences. However, a user can have more than one experience and the number is uncertain. So, my app is restricting a user to enter the information for only two work experiences. Now my boss wants me to add a button and when I tap it one more field should be displayed for the experience. So, this will allow a user to add as much experiences as he wants. I have searched a lot about it but couldn't find anything helpful. If you can kindly lead me to any resource or just give a demo.
One approach you can do is to have a UITableView and have each single experience populated in each cell. Then when an add button is pressed, a view like UIPopover can appear and let the user fill out the info. After the form is filled, one extra cell would be generated to display the new experience. This approach works with deleting as well.

Xcode, text field for selected button state not saving value entered

I am sure that this is a really easy solution for someone with IOS experience. My problem is as follows, (forgive me if my terminology in explaining the situation is poor)
I want to change the selected state of my text to be the  character instead of the word Ace.
Initially the selected state is set to show "Ace" on the button as shown in the picture below.
I then paste in the appropriate  character as shown in the picture below
However, when I do a command save, then toggle the button pointed to in the picture below back and forth from default to selected the text field reverts back to Ace instead of being  as I want it.
Forgive me if this is really easy, but I can seem to figure it out. As I said, I have tried command save after changing it, but that is not working, I can't really think of anything else to try, and googling this answer is difficult as I am not sure how to even word the question without visually describing my problem as I have done here. Any help is appreciated. Thanks!
Wow, I just solved this right after I posted the question
All you have to do is click outside of the text field where you enter what you want the state to be and it saves it. Can't believe my headache was so simple...

Presenting choices to user in iOS app

I am writing an iPhone app. My next step is to create a card object. I know how to do this theoretically, but my problem is coming from my lack of experience in Xcode.
This is my add item page
I want the user to specify a name and then choose an icon, either from the 3 most popular choices, another page of premade options, or take their own picture and use that.
Now, how do I show those choices in a way that the user can select one and I can collect their response? Right now, they are simply buttons, I can add my background image to them, but I don't know how to record their response. I would like it to show them their selection by adding that shadow around the box.
I'm not sure if a button is the best approach.
Also, I will need the same selection behavior for the image they take themselves, but I figure if I get the icon choices to work, I can figure out using a picture taken by the user.
Thanks for any help.
I would create button "Select image" below the uiimageview.
This button would present action sheet where you would have two options
a) select form existing
b) take a picture.
Then I would probably use Grid view to present the existing icons and UIImagePicker for taking pictures :)

How to make long text accessible

I'm trying to make my app more accessible but I have a problem. Part of my app consists of pieces of advice, each composed of an UIScrollView with long text. (The text is a UIImage I prepared with Photoshop ).
I would like to make it accessible so that the users could listen to all the advice and pause it whenever they want. I thought of using UIAccessibilityLabel but the text is too long.
Thanks in advance for your help.
Let me preface this by saying I am not an iOS developer but am a long time blind iOS user.
There is no way to easily pause the reading of text and resume at the exact same spot that I know of. According to the documentation, I've found accessibilityLabel is meant to provide accessibility information that can be conveyed in under a sentence. An option I can think of would be to test whether VoiceOver is enabled using UIAccessibilityIsVoiceOverRunning. If this is true, you could put your text into a text view, and display that instead of your UIImage.
A textView will allow a VoiceOver user to read the text by character, word, or line, which is the best option available. If VoiceOver isn’t running, your test will return false, the UIImage will be displayed as normal, and the user won’t see anything different.

Resources