lib/ProMotion/tabs/tabs.rb in ProMotion-2.2.1 vs lib/ProMotion/tabs/tabs.rb in ProMotion-2.2.2
- old
+ new
@@ -39,10 +39,11 @@
end
item = UITabBarItem.alloc.initWithTitle(title, image: item_image, tag: tag)
if item_selected || item_unselected
- item.setFinishedSelectedImage(item_selected, withFinishedUnselectedImage: item_unselected)
+ item.image = item_unselected
+ item.selectedImage = item_selected
end
item
end