Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 77

Jen
Lost but trying
Profile
Posts: 70
Reg: Mar 14, 2013
Melbourne
2,750
10/30/14 03:23 AM (9 years ago)

The Motivation Poster plugin

Hi, It looks like this app can only use the camera or access the pics on the users device. I would like to add a gallery the user can select from. Does anyone know if this is possible? Thanks in advance, Jen
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
10/30/14 03:59 AM (9 years ago)
Could you explain it a little bit better? Which operating system, which app are you mentioning etc.
 
Ed Goodall
Fusion Technology
Profile
Posts: 422
Reg: Oct 01, 2011
Wiltshire, UK
12,320
like
10/30/14 06:20 AM (9 years ago)
@Dusko, the plugin is only iOS, so I assume that is the OS, and it is the Motivational Plugin mentioned in the title by Jen But even then, the question seems odd in my head for some reason...
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
10/30/14 06:28 AM (9 years ago)
Hi Jen, I think I see what you are trying to say... When adding a picture for the poster, the current options that the user has is to use the camera to take a new pic, or load an existing pic from the users camera roll. If I understand correctly, you'd like to have a fixed set of images for your users to choose from, instead of allowing them to choose their own? Currently, that wouldn't be possible without some modification. You would somehow need to create an additional view showing and allowing whatever preset images you would want available, and bundle those into the app. It would be a pretty hefty modification, and not a 10 minute fix unfortunately.
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
10/30/14 06:28 AM (9 years ago)
Thanks Ed for the information. >Does anyone know if this is possible? Did you ask the author of the plugin?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
10/30/14 01:51 PM (9 years ago)
I agree with Angry Ninja that this requires some additional coding and probably not a 10-minute fix. However, it wouldn't be too terribly long for someone who knows what they're doing. I wouldn't pay more than 1 hour of contract time getting this done if I were you.
 
Jen
Lost but trying
Profile
Posts: 70
Reg: Mar 14, 2013
Melbourne
2,750
like
10/31/14 03:58 AM (9 years ago)
Hi, Thanks for the responses. I've found a good go-around in using the gallery plugin. Now if I could get said plugin to recognise more than 1 out of every image uploaded... Thanks! Jen
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
11/01/14 09:03 PM (9 years ago)
Saw this discussion and decided to grab a copy of the plugin :) Figured before I started asking all my questions, I would share an addition that I changed tonight ;) This will enable you to remove the iOS on-screen keyboard when the "Done" key is tapped: both code additions are in (AN_Posters.m) =========== At the end add the following: //enable Done key to remove keyboard -(BOOL)textFieldShouldReturn:(UITextField*)textField { [textField resignFirstResponder]; return YES; } =========== In the following code section (around line 280) - (void)textFieldDidEndEditing:(UITextField *)textField { //needed to have Done key remove keyboard [textField resignFirstResponder]; // <- this is the only new line needed here self.activeField = nil; }
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
11/01/14 09:28 PM (9 years ago)
duplicate
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
11/13/14 07:40 PM (9 years ago)
Jen, If you have the Gallery Plugin working to supply an image, what did you mean about supplying more than one image?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.