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.
写真をディレクトリに保存しようとしていますが、複製を停止するためにタイムスタンプを使用しているため、未使用の変数タイムスタンプを示すエラーが発生しています。これどうやったらクリアできるの??
NSString *timestamp = [NSString stringWithFormat:@"%HatsImage",unixtime];
unixtime が long 型であると仮定すると、次のようにします。
NSString *timestamp = [NSString stringWithFormat:@"%ldHatsImage",unixtime];