Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am developing an eCommerce app for iOS. I want to display recently viewed products in one of my app's views. I want to do the same thing that eBay did in their iOS app. Whenever I viewed some product or searched for a product, it showed in a recently-viewed table.
How can I do this in my iOS app? Any help is appreciated. Thanks.
You need to keep track of whatever products the user views or searches. Keep a list of product ids or whatever is appropriate. Store this list in NSUserDefaults or a database depending on your needs so the data is available each time the app is run.
Use this list to display those products in your "recently viewed products" view.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm building an iOS app with Swift that currently uses Firebase.
Here is what I want to do:
I have a list of items, whenever I add or subtract items from that list I want to send the updated list to all users, they will receive the updated list the next time they open the app.
How should I approach this? Is it possible with Firebase?
I had the same issue
I solved it by making the users download the list each time the user enters the app.
the issue here is that they must be connected to the internet
you can back it up and check: if internet is offline - use the old list in your local database
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
If I wanted to make an app that allows users to add their own photos to a UICollectionview what method would I use? Also, how could that be added to Firebase's real-time database?
You need to give your users access to the camera and photo library.
You wouldn’t use the Firebase real-time database, you could use the Firebase Storage module, but I would use a product like Cloudinary, which allows you to do nice things like centring, resizing, facial detection etc.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am currently building an app and would like the option of having users view other users playlists. Is this possible?
Of course this is possible. All this data would be in a database, and you would write stored procedures that would fall in a REST API that you would call from your app. You would need to do the filtering of said stored procedure to show users any kind of data you want (if you only want to show 'friends' playlists, or 'people around you'..etc). Remember, it's just all data. Nothing more. You format the data to look nice, but it's still just data.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have an iOS app that has over 100 images pre-stored in it. I want to have a system where all the images are saved online and picked by the app. Other then maintaining an own server, what other online options are available to save and retrieve such amount of data. And what are options available to save high scores of the iOS application online?
Parse could be made to work to save and access the images.
Game Center is great for high scores and Crystal, Geosophic, and Plus+ are all alternatives as well.
you can integrate apple's iCloud in your app to store any data.
this is the link-https://developer.apple.com/library/mac/documentation/General/Conceptual/iCloudDesignGuide/Chapters/Introduction.html
for store high scores you may use game centre.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know a new contact can be created in an iOS addressbook.
Is there a way to also flag that contact and set it as a 'Favorite' programmatically?
I am not aware of any public API for this. And it makes sense, since this is a very invasive action. You should not be doing this - the user should be doing it.
Favorite contacts vary from one app to the next -- it's not something that the AddressBook framekwork manages. Take a look at the Phone app, and then look at FaceTime; you'll see that the contacts in the favorite lists are different (unless you've set the same favorites in both apps, of course). The same is true of the "recent" category.
To implement a Favorites list in your own app, keep track of the record identifiers for the contacts that the user chooses as favorites in your app. You can use ABPeoplePickerNavigationController to easily let users choose contacts to add to your favorites list.