[Swift] UItable ViewCell의accessory View의tintColor 변경
                                            
                                                
                                                
                                                
                                                
                                                
                                                 3074 단어  SwiftUITableViewCell
                    
Problem 
UItable ViewCell의accessory View의tintColor를 변경하고 싶습니다
Solution 
아이콘 가져오기
 
다음 사이트에서의 png 이미지 다운로드,ios용 아이콘 집합ic_navigate_next끌어 놓다
https://www.google.com/design/icons/#ic_navigate_next 
이루어지다
   func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath)
    let disclosureImage = UIImage(named: "ic_navigate_next")!.imageWithRenderingMode(.AlwaysTemplate)
    let disclosureView = UIImageView(image: disclosureImage)
    disclosureView.tintColor = UIColor.redColor()
    cell.accessoryView = disclosureView
    return cell
  }
결실
 
 
 
참고 자료 
아이콘 가져오기
다음 사이트에서의 png 이미지 다운로드,ios용 아이콘 집합
ic_navigate_next끌어 놓다https://www.google.com/design/icons/#ic_navigate_next
이루어지다
  func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath)
    let disclosureImage = UIImage(named: "ic_navigate_next")!.imageWithRenderingMode(.AlwaysTemplate)
    let disclosureView = UIImageView(image: disclosureImage)
    disclosureView.tintColor = UIColor.redColor()
    cell.accessoryView = disclosureView
    return cell
  }
결실
 
 참고 자료
Reference
이 문제에 관하여([Swift] UItable ViewCell의accessory View의tintColor 변경), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/k-yamada-github/items/88160358d7f4ed32c550텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)