You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
I have an requirement, I am trying to give different images in Tab section, As I saw in Example code it is having only single image, Can you please help me Where I can put the code exactly.
I took the code:
let instagram_item = OurTeams.allTeams.map { SmoothTabItem(
title: $0.rawValue,
image: $0.instagram_image,
selectedImage: $0.selected_instagram_Image,
tintColor: UIColor(red: 96/255, green: 197/255, blue: 227/255, alpha: 1)
)
}
Hi Team,
I have an requirement, I am trying to give different images in Tab section, As I saw in Example code it is having only single image, Can you please help me Where I can put the code exactly.
I took the code:
let instagram_item = OurTeams.allTeams.map { SmoothTabItem(
title: $0.rawValue,
image: $0.instagram_image,
selectedImage: $0.selected_instagram_Image,
tintColor: UIColor(red: 96/255, green: 197/255, blue: 227/255, alpha: 1)
)
}
But it is throwing an error: Cannot convert value of type '[SmoothTabItem]' to expected element type 'SmoothTabItem'
The text was updated successfully, but these errors were encountered: