foursquare

Foursquare API for venue user image error

試著忘記壹切 提交于 2019-11-27 07:37:12
The Foursquare API has divided its photo tag for user as prefix and suffix. But if I merge them to form a full image URL and paste this in my browser, gives me errors that says the image can't be displayed because it contains errors. Is it because server is temporarily unavailable or anything else? I am using the API for Venue Detail. I got the data like this user: { id: "26534686" firstName: "Bobbi" lastName: "E." photo: { prefix: "https://irs3.4sqi.net/img/user/" suffix: "/K4VCI4MXHWFUGXOF.jpg" } } visibility: "public" But when I call this url https://irs3.4sqi.net/img/user/K4VCI4MXHWFUGXOF

New foursquare venue detail map

僤鯓⒐⒋嵵緔 提交于 2019-11-26 19:02:47
问题 I really love the way foursquare designed venue detail view. Especially the map with venue location in the "header" of view ... How was it done? Details are obviously some uiscrollview (maybe uitableview?) and behind it (in the header) there is a map so when you scroll up the map is beeing uncovered as the scroll view bounces... does anyone has an idea how to do this? 回答1: Here's the way I manage to reproduce it:- You need a UIViewController with a UIScrollView as its view. Then, the content