We believe iPhone development should be clean, scalable, and fast with a language that developers not only enjoy, but actively choose. With the advent of Ruby for iPhone development the RubyMotion community has combined and tested the most active and powerful gems into a single package called RedPotion
Hello. My nav_bar should show the logged_in user's picture on the right and clicking on it should open a Profile screen.
It works fine with a new user that has not uploaded a profile picture yet, and therefore It's using a local placeholder image, but when Auth.current_user["image"] contains an URL pointing to the user's profile image, it no longer works.
Hello. My nav_bar should show the logged_in user's picture on the right and clicking on it should open a Profile screen.
It works fine with a new user that has not uploaded a profile picture yet, and therefore It's using a local placeholder image, but when
Auth.current_user["image"]
contains an URL pointing to the user's profile image, it no longer works.But when a remote image exists, this code does not work properly. It shows the image, but nothing happens when it is tapped / clicked.
If I exchange this line:
for this one:
tapping / clicking works, but no image is shown.
Any help would be appreciated.