久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='dxHRN'></bdo><ul id='dxHRN'></ul>
    <legend id='dxHRN'><style id='dxHRN'><dir id='dxHRN'><q id='dxHRN'></q></dir></style></legend>

      <small id='dxHRN'></small><noframes id='dxHRN'>

      1. <i id='dxHRN'><tr id='dxHRN'><dt id='dxHRN'><q id='dxHRN'><span id='dxHRN'><b id='dxHRN'><form id='dxHRN'><ins id='dxHRN'></ins><ul id='dxHRN'></ul><sub id='dxHRN'></sub></form><legend id='dxHRN'></legend><bdo id='dxHRN'><pre id='dxHRN'><center id='dxHRN'></center></pre></bdo></b><th id='dxHRN'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='dxHRN'><tfoot id='dxHRN'></tfoot><dl id='dxHRN'><fieldset id='dxHRN'></fieldset></dl></div>
        <tfoot id='dxHRN'></tfoot>

        如何隱藏在 ios 的文檔目錄中創(chuàng)建的文件夾?

        How to hide folders created in Document Directory in ios?(如何隱藏在 ios 的文檔目錄中創(chuàng)建的文件夾?)
      2. <legend id='uEw3t'><style id='uEw3t'><dir id='uEw3t'><q id='uEw3t'></q></dir></style></legend>
        <i id='uEw3t'><tr id='uEw3t'><dt id='uEw3t'><q id='uEw3t'><span id='uEw3t'><b id='uEw3t'><form id='uEw3t'><ins id='uEw3t'></ins><ul id='uEw3t'></ul><sub id='uEw3t'></sub></form><legend id='uEw3t'></legend><bdo id='uEw3t'><pre id='uEw3t'><center id='uEw3t'></center></pre></bdo></b><th id='uEw3t'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uEw3t'><tfoot id='uEw3t'></tfoot><dl id='uEw3t'><fieldset id='uEw3t'></fieldset></dl></div>

          1. <tfoot id='uEw3t'></tfoot>
              <tbody id='uEw3t'></tbody>
          2. <small id='uEw3t'></small><noframes id='uEw3t'>

                <bdo id='uEw3t'></bdo><ul id='uEw3t'></ul>

                  本文介紹了如何隱藏在 ios 的文檔目錄中創(chuàng)建的文件夾?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我以編程方式創(chuàng)建了一些 PDF 文件,我使用以下代碼將其存儲到設備內(nèi)存中 >>>>

                  I have created some PDF files programatically, which i am storing into the devices memory using the following code >>>>

                      NSString *fileName = [NSString stringWithFormat:@"SampleTextFile.pdf",strFinalString];
                  
                      NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
                      NSString *saveDirectory = [path objectAtIndex:0];
                      NSString *saveFileName = fileName;
                      NSString *documentPath = [saveDirectory stringByAppendingPathComponent:saveFileName];
                  

                  我可以在 Devices Document 文件夾中看到該文件.

                  I can see the file in the Devices Document folder.

                  我想隱藏這些文件,讓用戶看不到或刪除它.

                  I want to hide these files so that the user can not see or delete it.

                  誰能幫我做這件事.

                  推薦答案

                  存儲私有數(shù)據(jù)的好地方是~/Library/Application Support/,這是Mac上使用的文件夾這個目的.

                  A good place to store private data is in ~/Library/Application Support/, which is the folder used on the Mac for this purpose.

                  您可以使用以下方法生成此文件夾的路徑:

                  You can generate a path to this folder using:

                  NSString *appSupportDir = [NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) firstObject];
                  

                  您必須在第一次使用它時自己創(chuàng)建文件夾,您可以這樣做:

                  You'll have to create the folder yourself the first time you use it, which you can do with:

                  if (![[NSFileManager defaultManager] fileExistsAtPath:appSupportDir])
                  {
                      [[NSFileManager defaultManager] createDirectoryAtPath:appSupportDir withIntermediateDirectories:YES attributes:nil error:NULL];
                  }
                  

                  我編寫了一個簡單的庫,使這個和所有其他有用的 iOS 文件夾可用作 NSFileManager 上的方法:https://github.com/nicklockwood/StandardPaths

                  I wrote a simple library that makes this and all other useful iOS folders available as methods on NSFileManager: https://github.com/nicklockwood/StandardPaths

                  這篇關于如何隱藏在 ios 的文檔目錄中創(chuàng)建的文件夾?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標已經(jīng)包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))
                        <i id='lE6Kp'><tr id='lE6Kp'><dt id='lE6Kp'><q id='lE6Kp'><span id='lE6Kp'><b id='lE6Kp'><form id='lE6Kp'><ins id='lE6Kp'></ins><ul id='lE6Kp'></ul><sub id='lE6Kp'></sub></form><legend id='lE6Kp'></legend><bdo id='lE6Kp'><pre id='lE6Kp'><center id='lE6Kp'></center></pre></bdo></b><th id='lE6Kp'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='lE6Kp'><tfoot id='lE6Kp'></tfoot><dl id='lE6Kp'><fieldset id='lE6Kp'></fieldset></dl></div>

                          <small id='lE6Kp'></small><noframes id='lE6Kp'>

                          • <bdo id='lE6Kp'></bdo><ul id='lE6Kp'></ul>

                            <legend id='lE6Kp'><style id='lE6Kp'><dir id='lE6Kp'><q id='lE6Kp'></q></dir></style></legend>
                              <tbody id='lE6Kp'></tbody>

                            <tfoot id='lE6Kp'></tfoot>
                            主站蜘蛛池模板: 欧美二区在线 | 日韩国产三区 | 91天堂网 | 欧美激情精品久久久久久免费 | 亚洲一区二区三区在线观看免费 | 一区二区日韩精品 | 欧美一a一片一级一片 | 人操人免费视频 | 日本成人久久 | 成人黄色在线 | 美女在线观看国产 | 天天操网| 亚洲精品免费观看 | 亚洲一区二区三区在线免费观看 | 久久久久久av | 国产成人麻豆免费观看 | 国产精品久久久久久久久久久久久 | 天天爽天天操 | 国产91在线视频 | 九九热在线观看视频 | 精品国产一区二区三区免费 | 日韩久久综合 | 国产视频第一页 | 日韩福利一区 | 一区二区三区视频在线免费观看 | 欧美福利一区 | 久久久精彩视频 | 欧美a在线 | 久久精品日产第一区二区三区 | 羞羞视频免费观看入口 | 日韩成人在线免费观看 | 日韩欧美三区 | 国产精品久久av | 欧美不卡 | 国产精品1区2区3区 一区中文字幕 | 国产精品日韩在线观看一区二区 | 亚洲一区二区三区视频 | 久在线 | www国产精品 | 精品一区二区三区中文字幕 | 国产一区黄色 |