Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iOS では、アプリの「リリース日」が記載されたアバウト ページが便利です。手動で更新する必要はありません。アプリがコンパイルされた日付を収集する方法はありますか? プリプロセッサ、またはアプリの検査、または私が考えられない何か?
自分の質問に答えるのは汚い気がしますが、答えは次のとおりです。
NSString *compiled = [NSString stringWithUTF8String:__DATE__];