I want to make something similar to facebook tag mechanism. I will display an image of a building to the users and i want them to be able to tag themselves in which room they are at the moment. The location would be sent to a web server so all users can see other's location. Is that possible and how? Thanks in advance.
It is likely to be possible.
I can suggest the following solution: store the building photo/scheme AND rooms information on server.
In your App, you will display image (perhaps in ScrollView), there you will have just TapGestureRecognizer which will recognize the room, depending on coordinates of tap.
In case of this solution, you will have to manually store information about each tap-zone corresponding to a room. But that's the most likely case.
Related
I need to develop a web project for mobile devices. And I met an awkard situation.
This is customer's desire. A user come to the bar. He scan QR image with a phone camera, a banner appears to ask if he want to open the browser menu or an app.
Well, as a web developer this seems absolutely impossible. But the problem is that the customer claims that this is the most common UX those days. I am not sure what does it mean. Have you seen any kind of thing like this and know how to do it? Or is it just a customer's imagination?
Even if they implemented this via app, I just want to know how they were able to show the banner on a camera. Thanks in adavance.
I am developing an iOS app for iPhone using Xcode of course, and need to have the facility to update the information on my initial view daily. This would consist of editing a logo for the day's date, and daily changing a block of text on the same page.
Another feature within the app would need to be to progressively add more and more content (adding further menus and categories of information available to the user on the interface).
I cannot seem to find anything to help me online so I would be HUGELY GRATEFUL for any help!
Cheers :)
Search for JSON and how to retrieve data from an online resource - that's what you want.
Here's a randon tutorial:
http://www.appcoda.com/fetch-parse-json-ios-programming-tutorial/
A little background info is that my team and I developed a website for a Real Estate Agency and I've been assigned the task of setting the image of the currently selected property into facebook's sharing feature.
The webpage for the property is dynamic as there are several listings, so what I've done is select the first image that is loaded on the page and set it to the og:image meta tag.
Now let's say I copy the URL and post it on Facebook, it'll show the correct thumbnail, HOWEVER, it'll also show multiple thumbnails from other listings.
All images on the website are over 200 x 200px and are within an aspect ratio of 3:1.
My question is, how do I tell Facebook to only take my initial image and not grab others while it's as it.
Is there perhaps a SelectSingleImage property that I can apply?
I've already spent more time searching for the answer to this issue than I would have liked, so thanks for any help provided, it's much appreciated.
One method I use sometimes is to recognize Facebook's server and simply provide it with different data. This way you can actually only have one image on the page (as far as Facebook knows).
I don't know anything about vb.net, but here is a simple code sample in PHP. All it does is perform a regular expression on the user agent of the request to match it against the string "facebook".
$isFacebook = false;
if(preg_match("/facebook/",strtolower($_SERVER["HTTP_USER_AGENT"]))) {
$isFacebook = true;
}
Facebook may very well change their user agent signature one day, but for now, I'm pretty sure you'll be safe but keep synced with the Developers Blog and the Roadmap.
It seems that Facebook saved those images in cache for some bizarre reason, but to resolve this issue all I had to do was enter the URL into Facebook's Linter tool which in turn cleared the cache on their server.
I want to display data like most social network apps use now. They use a lot of separated frames. In each frame it has texts, pictures, buttons and something else. I absolutely don't know how to do this. I think I can use table view and use grouped style (remove group name label) to display it but I don't know whether I can put button on it and whether it is the smartest way to fix my problem.
Can you explain clearly for me or just give me tutorial, links or something related to it?
An experience shared by a Facebook developer on how they built the iOS app.
https://www.facebook.com/notes/facebook-engineering/under-the-hood-rebuilding-facebook-for-ios/10151036091753920
I have a navigation controller where i have the list of appointments in a table view. I have an add button on the right side corner for the navigation controller. When the user clicks the add button a view will appear with the textfields and buttons. The problem is when ever the user (of the app) adds his appointments and clicks the add button it has to hit the server and store that data. I want to do that using RestKit. Can anybody tell me how to hit the server and how i can store the data.
Yes, Google can.
Here is the first result for the search 'restkit tutorial' :
http://mobile.tutsplus.com/tutorials/iphone/restkit_ios-sdk/
And, in case that one is a little out of date, here's the second result for the search 'restkit tutorial' :
http://mobile.tutsplus.com/tutorials/iphone/advanced-restkit-development_iphone-sdk/
The current documentation is only on github. Most other sources are outdated, thanks to RestKit's rapid development.
The wiki has a lot of good information, and you can find documentation that's always up-to-date in the docs directory.
I recently wrote a detailled overview of RestKit with many piece of code and I think it can help you to understand how it works and how to get things done.
http://blog.octo.com/en/overview-of-restkit-a-core-data-enabled-ios-macosx-framework-for-restful-apps/