0

This is purely for a personal app that I will not be submitting to the app store. I would like to use a method and/or property that is in a private header file within the MapKit.framework. What is the process for using such a private method/property? What are the steps to take in Xcode? Thank you.

pruppert
  • 111
  • 1
  • 12
  • 1
    Hard to see what the question is here. If it's private, how do you know what it is? Or, if you know what it is, what's stopping you from just using it? – matt May 30 '15 at 21:17
  • Expose the private method or property, e.g., `@interface MKMapView () (UIView *)_contentView; @end`. Now you can call it normally without seeing an undeclared selector error. –  May 30 '15 at 21:28
  • Thank you, both. Do you know the way to expose the private method/property in Swift? – pruppert May 30 '15 at 22:42
  • No, sorry, I don't know how to write the declaration in Swift. –  May 30 '15 at 22:45

0 Answers0