تاریخ امروز :
iOS
macOS
Xcode
iTunes
نمایش نتایج: از 1 به 9 از 9

موضوع: مولتی تسکینگ iOS واقعن کار میکنه؟

  1. #1
    تاریخ عضویت
    Sep 2009
    نوشته ها
    400
    سپاس
    85
    از این کاربر 284 بار در 156 ارسال سپاس شده است.

    پیش فرض مولتی تسکینگ iOS واقعن کار میکنه؟

    من هر موقع از یه برنامه خارج میشم باید قاعدتا در پشت پرده در حال کار باشه اما چند لحظه بعد از خروج برنامه ظاهرا از کار می افته و وقتی بعد از چند ساعت برنامه رو اجرا مکنم صفحه برنامه از اول لود میشه!
    مثلا همین تپاتاک بعد از حدود یک ساعت که برگشتم به برنامه صفحه ای که در حال خوندن بودم رو نگه نداشته بود. یعنی انگار برنامه رو تازه باز کرده بودی!
    کسی میدونه مولتی تسکینگ تو iOS به چه صورتی عمل میکنه؟ تا چه حدی برنامه رو تو پشت پرده فعال نگه میداره؟
    با سپاس
    ویرایش توسط saeedrele : 23-03-2012 در ساعت 07:35 PM

  2. کاربر زیر از saeedrele عزیز به خاطر این پست مفید سپاس کرده است:


  3. #2
    تاریخ عضویت
    Sep 2009
    محل سکونت
    Capital
    نوشته ها
    3,157
    ورژن iOS
    12.1.3
    ورژن Mac
    10.10.2
    سپاس
    5,466
    از این کاربر 4,105 بار در 1,917 ارسال سپاس شده است.

    پیش فرض

    بستگی داره که اون برنامه قابلیت مولتی تسکینگ روش باشه یا نه
    شما برو تو photo یه عکس رو نگاه کن ، بعد بیا بیرون دوباره برو توش همون عکس رو نشون میده ، مگر اینکه از طریق sbsetting یا اون پایین (بخش مولتی تسکینگ) بسته باشیش
    این قابلیت باید رو برنامه ها فعال باشه !

  4. 2 کاربر زیر از Mr.ID عزیز به خاطر این پست مفید سپاس کرده اند .


  5. #3
    تاریخ عضویت
    Sep 2009
    نوشته ها
    400
    سپاس
    85
    از این کاربر 284 بار در 156 ارسال سپاس شده است.

    پیش فرض

    نقل قول نوشته اصلی توسط mr.id نمایش پست ها
    بستگی داره که اون برنامه قابلیت مولتی تسکینگ روش باشه یا نه
    شما برو تو photo یه عکس رو نگاه کن ، بعد بیا بیرون دوباره برو توش همون عکس رو نشون میده ، مگر اینکه از طریق sbsetting یا اون پایین (بخش مولتی تسکینگ) بسته باشیش
    این قابلیت باید رو برنامه ها فعال باشه !
    ممنون با نرم افزارهاي خود اپل مشكلي ندارم اما مثلا همين تپاتاك فقط چند دقيقه اي وضعيت برنامه رو حفظ ميكنه بعد برنامه رو از حافظه پاك ميكنه(به اصطلاح ميكشه). جالب اينجاست كه بعد از پاك كردن برنامه از حافظه آيكونش همچنان تو بخش مولتي تسكينگ هست اما با اجراش انگار كه برنامه رو از اول اجرا كرديم.
    تو دستگاه هاي با حافظه بالاتر اين امكان بهبود پيدا نكرده؟ مثل آيفون ٤اس يا آيپد جديد؟

  6. #4
    تاریخ عضویت
    Sep 2009
    محل سکونت
    Capital
    نوشته ها
    3,157
    ورژن iOS
    12.1.3
    ورژن Mac
    10.10.2
    سپاس
    5,466
    از این کاربر 4,105 بار در 1,917 ارسال سپاس شده است.

    پیش فرض

    نقل قول نوشته اصلی توسط saeedrele نمایش پست ها
    ممنون با نرم افزارهاي خود اپل مشكلي ندارم اما مثلا همين تپاتاك فقط چند دقيقه اي وضعيت برنامه رو حفظ ميكنه بعد برنامه رو از حافظه پاك ميكنه(به اصطلاح ميكشه). جالب اينجاست كه بعد از پاك كردن برنامه از حافظه آيكونش همچنان تو بخش مولتي تسكينگ هست اما با اجراش انگار كه برنامه رو از اول اجرا كرديم.
    تو دستگاه هاي با حافظه بالاتر اين امكان بهبود پيدا نكرده؟ مثل آيفون ٤اس يا آيپد جديد؟
    اینا برمیگرده به خود اون نرم افزار ، به سیستم عامل و گوشی و اینا ربطی نداره
    خیلی از بازی ها هم این قابلیت رو دارند ، شما ریسپرینگ یا ریست بکنی هم آیکون میمونه ولی برنامه ریست میشه

  7. #5
    تاریخ عضویت
    Sep 2009
    نوشته ها
    400
    سپاس
    85
    از این کاربر 284 بار در 156 ارسال سپاس شده است.

    پیش فرض

    يه مقاله پيدا كردم خوب توضيح داده موضوعو
    يه قسمتش:
    There are exactly five kinds of apps allowed to run indefinitely in the Background state in iOS 5:

    Apps that play audio while in the Background state. A good example is Instacast while it’s playing a podcast.
    Apps that track your location in the background. For example, you still want voice prompts from your turn-by-turn GPS navigation app, even if another app is Active.
    Apps that listen for incoming voice-over-IP (VOIP) calls. If you use Skype on iOS, you can receive incoming Skype calls while the app is in the background.
    Newsstand apps that are downloading new content.
    Apps that receive continuous updates from an external accessory in the background.

  8. کاربر زیر از saeedrele عزیز به خاطر این پست مفید سپاس کرده است:


  9. #6
    تاریخ عضویت
    Sep 2009
    محل سکونت
    Capital
    نوشته ها
    3,157
    ورژن iOS
    12.1.3
    ورژن Mac
    10.10.2
    سپاس
    5,466
    از این کاربر 4,105 بار در 1,917 ارسال سپاس شده است.

    پیش فرض

    نقل قول نوشته اصلی توسط saeedrele نمایش پست ها
    يه مقاله پيدا كردم خوب توضيح داده موضوعو
    يه قسمتش:
    There are exactly five kinds of apps allowed to run indefinitely in the background state in ios 5:

    Apps that play audio while in the background state. A good example is instacast while it’s playing a podcast.
    Apps that track your location in the background. For example, you still want voice prompts from your turn-by-turn gps navigation app, even if another app is active.
    Apps that listen for incoming voice-over-ip (voip) calls. If you use skype on ios, you can receive incoming skype calls while the app is in the background.
    Newsstand apps that are downloading new content.
    Apps that receive continuous updates from an external accessory in the background.
    بله این هم گفته که تو 5 دسته از برنامه ها این قابلیت فعال میشه
    پس همون پشتیبانی از قابلیت مولتی تسکینگ و داشتن شرایطش شرط هست

  10. کاربر زیر از Mr.ID عزیز به خاطر این پست مفید سپاس کرده است:


  11. #7
    تاریخ عضویت
    Sep 2009
    نوشته ها
    400
    سپاس
    85
    از این کاربر 284 بار در 156 ارسال سپاس شده است.

    پیش فرض

    مقاله جالبيه چون اينستا پيپرش كردم لينكشو ندارم همه رو پيست ميكنم اينجا. بخونيد دوستان جالبه:
    Macworld How iOS multitasking really works | Mobile
    Macworld
    How iOS multitasking really works

    Posted on Wednesday Jan 04, 2012 9:30 AM
    by Fraser Speirs , Macworld.com
    There’s one bit of iOS misinformation that I keep hearing. Even supposedly authoritative sources such as Apple Geniuses don’t seem to get it. It has to do with how multitasking works in iOS.

    Here’s the statement I keep hearing, and it’s wrong:

    All those apps in the multitasking bar on your iOS device are currently active and slowing it down, filling the device’s memory or using up your battery. To maximise performance and battery life, you should kill them all manually.

    The iOS multitasking bar does not contain a list of all running apps. It contains a list of recently used apps. The user never has to manage background tasks on iOS.

    Except in a few cases, which I’ll explain, the apps that appear in the multitasking bar are not currently running. When you press the home button, iOS will tell the app to quit. In almost all cases, it quits, it stops using processor time (and hence battery), and the memory it was using is eventually recovered, if required.

    The five faces of apps

    iOS apps can exist in any of five states of execution. These are:

    Not Running: The app has been terminated or has not been launched.
    Inactive: The app is in the foreground but not receiving events (for example, the user has locked the device with the app active).
    Active: The normal state of “in use” for an app.
    Background: The app is no longer on-screen but is still executing code.
    Suspended: The app is still resident in memory but is not executing code.
    Active and Inactive are not relevant to this discussion. Most of the confusion is around what happens as an app goes from Active to Background to Suspended to Not Running.

    When you press the home button, the app moves from Active to Background. Most apps usually then go from Background to Suspended in a matter of seconds. (Suspended apps remain in the device’s memory. This is so they can resume more quickly when you go back to them. They’re not using processor time and they’re not sucking battery power.)

    You may think that if an app is resident in memory, you might have to remove it manually in order to conserve memory. But you don’t: iOS does it for you. If you launch a memory-intensive app such as a game, iOS will start to purge Suspended apps from memory and move them to the Not Running state. That is, they will be completely removed from memory and will launch afresh the next time you tap their icon.

    Here’s the confusing part: None of these states are reflected in the multitasking bar. That bar always shows a list of recently used apps, regardless of whether they’re in the Background, Suspended, or Not Running states. (You may also have noticed that the app that is currently Active does not appear in the multitasking bar.)

    Background tasks

    Let’s take an app that downloads largish files from the Web, such as Instacast, my favorite podcast app. When Instacast is Active, it can start to download new podcasts. By default, if I hit the home button on my iPhone, Instacast would get five seconds to run in the Background state before it would be moved to Suspended. That would interrupt the download of my podcasts, which can take some time. (They’re large files.)

    But iOS allows apps such as Instacast, which have time-intensive tasks that can run in the background, to ask for a reprieve. The app declares its downloading of podcasts as a “background task.” This allows Instacast an extra period of Background running, after I hit the home button, to complete its downloads.

    Instacast doesn’t have all day. An app gets about ten minutes of Background running time before it is forcibly suspended by iOS. But regardless, this isn’t a feature regular users should worry about.

    Indefinite background running

    So all apps get five seconds of Background running, to clean things up, and some apps (such as Instacast) can request a ten-minute extension. There are, however, a small number of apps that genuinely need to run indefinitely in the background, and iOS allows this.

    There are exactly five kinds of apps allowed to run indefinitely in the Background state in iOS 5:

    Apps that play audio while in the Background state. A good example is Instacast while it’s playing a podcast.
    Apps that track your location in the background. For example, you still want voice prompts from your turn-by-turn GPS navigation app, even if another app is Active.
    Apps that listen for incoming voice-over-IP (VOIP) calls. If you use Skype on iOS, you can receive incoming Skype calls while the app is in the background.
    Newsstand apps that are downloading new content.
    Apps that receive continuous updates from an external accessory in the background.
    All well-written apps in the above categories should become Suspended when they are no longer performing the task in hand. When Instacast finishes playing a podcast, it should be Suspended. There are some built-in apps that also run continuously in the background on iOS—the most-used one is probably Mail.

    As long as these apps are running in the Background state, they will consume memory, CPU time, and power. It’s also important to know that an app which is enabled to run indefinitely in the background can do anything that it can do when it’s Active. This may include much more than just playing audio or tracking your location. For example, as long as Instacast is playing audio it can also continue to download new episodes in the background.

    In general, though, you would know that you were using such apps. The developer has to declare which category of Background running they require, and part of the App Store review process is to check that these declarations are not being abused—although App Store review is never a perfect catch-all.

    I said earlier that “the user never has to manage Background tasks on iOS.” The only exception to this is when one of these Background-running apps either goes berserk or will not Suspend itself properly. In such a case, you may want to manually kill the app from the Multitasking Bar. This, however, is an unusual situation and not a normal part of being an iOS user. I do think, though, that iOS could do a better job of showing which apps are currently in indefinite Background running, perhaps similarly to the way that apps using Location Services are shown.

    Summary

    Let me wrap this up by giving you a quick summary:

    If someone tells you that all the apps in the multitasking bar are running, using up memory or sucking power, they are wrong.
    When you hit the home button, an app moves from Active to Background and quickly to the Suspended state, where it no longer uses CPU time or drains power.
    An app may request an additional ten minutes of Background running to complete a big task before becoming Suspended.
    If memory is becoming scarce, iOS will automatically move Suspended apps into the Not Running state and reclaim their memory.
    Five classes of apps—audio, GPS, VOIP, Newsstand and accessory apps—and some built-in apps such as Mail may run indefinitely in the background until they complete their task.
    Put simply: You do not have to manage background tasks on iOS. The system handles almost every case for you, and well-written audio, GPS, VOIP, Newsstand, and accessory apps will handle the rest.

    [Fraser Speirs is a developer and educator based in Scotland. A version of this story originally appeared on his blog.]

    Email
    You are emailing the article “How iOS multitasking really works”

    Please fill out the form below and tap “Send Email” or tap here to return to the story
    ویرایش توسط saeedrele : 23-03-2012 در ساعت 10:23 PM

  12. کاربر زیر از saeedrele عزیز به خاطر این پست مفید سپاس کرده است:


  13. #8
    تاریخ عضویت
    Nov 2010
    نوشته ها
    45
    سپاس
    3
    از این کاربر 19 بار در 11 ارسال سپاس شده است.

    پیش فرض

    یه نکته دیگه هم اینکه اگه تو این فاصله برنامه سنگینی مثل یه بازی اجرا کنین که با کمبود رم مواجه بشه برنامه های تو پس زمینه بسته میشن بطور خودکار

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •  
اطلاعات سایت
لینک دوستان
درباره سایت
انجمن تخصصی آيفون در سال ۲۰۰۷ با عرضه‌ی اولين نسل گجت‌های iOS اپل فعاليت خود را آغاز نمود. مفتخر هستيم که تا اين لحظه پيشتاز خدمت رسانی به کاربران ايرانی محصولات اپل باشيم.

اکنون ساعت 08:37 AM برپایه ساعت جهانی (GMT - گرینویچ) +4 می باشد.

Powered by vBulletin® Version 4.2.5
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.