I am having trouble changing the view inside the stream. I tried to add a subview, but it took about 6 seconds to display. I finally got his job, but I don’t know how. So I was wondering why this worked and what is the difference between the following methods:
For reference, this was called inside this Completetion handler of the ACAccountStore class.
accountStore requestAccessToAccountsWithType:accountType withCompletionHandler:^(BOOL granted, NSError *error) { if(granted) {
Edit: When I say that this did not work, I intended that it took about 6 seconds to display the view I added.
multithreading ios objective-c uikit grand-central-dispatch
Miguel Lomelí Feb 17 '12 at 21:10 2012-02-17 21:10
source share