It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
1.We have opened app.
2.Then we hide it.
3.Then we repair it .
4.And after that action i need to update page.
how can i realize it?
There are two possibilities for this:
1) When reactivated, the method applicationDidBecomeActive: in your application delegate will be called. Note that this will also be called when the app is being started for the first time.
2) An UIApplicationDidBecomeActiveNotification is being posted to the notification center. Objects (views) that need to react to that may register for that notification. I think this would probably the way to go for your case: register for this notification in the view that needs to be reloaded. Registering for notifications is handled in Notification Programming Topics - Registering for Notifications
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to drop a particular call if caller number belongs to some 'black-list'.
Is there any such possibility to do this programmatically on iOS (iPhones and iPads)?
From my understanding, such program must be running all the time like system service but I've never seen such apps. If no, then I could run app by myself and put it in background, but will the app from background be able to do this, and finally are there ant methods in API for performing this?
There's no public APIs for achieving anything like that.
Moreover this is a functionality that Apple will embed in iOS7, as per the last WWDC conference.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am developing an app in which i have to send email using MFMailComposeViewController to multiple user selecting from contact list.When I send email once it goes but when i do it second time I get following warning: Attempt to present on while a presentation is in progress!.Please let me know whats the issue here.
Thanks.
A kind of communication issue between parent-child .That means you are trying to present MFMailComposeViewController, without dismissing the previous.
Well, I can't explain further without looking at your code.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have searched a lot to find a way to implement the most used pull over menu when I press a button in xcode for iPhone. Something like what you see when you hit the reply button in email app. You see options to Reply, Forward, Print, Cancel. I wanted to implement it exactly the same way. Is there a standard framework already available in iOS6?
Many thanks for the excellent users of stackoverflow.
Below is the screen shot that I wanted to implement.
This is a UIActionSheet
Please look at Apple's doc
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to run my application every minute in background on iOS. Can I do this ? Is there any example ?
Thank you.
Check out https://developer.apple.com/library/IOs/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html
for a look at what you can and cannot do in the background on IOS.
Many tasks which you might want to do in the background can be done through the OS, such as notifications, but when your app is in the background, it should spend the majority of its time in a suspended case unless:
You need to implement at least one of several specific user services.
You need to perform a single finite-length task.
You need to use notifications to alert the user to some relevant piece of information when your app is not running.
(these were taken from the site I linked)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Why using NSNotificationCenter(ios) in a mobile apps. I mean I dont have many UI controls to update on a View. Also if I need to pass down to the caller of a View I would just use a delegate.
It might be justifiable in a logical sense if I have many Views in a Navigation control, and I would like to have each view down the navigation to update something - it is in situations like this NSNotificationCenter gets into play?
Thanks
Regards
In the situations you mention, you probably shouldn't use notifications -- it really doesn't have anything to do with mobile apps, the same criteria would apply to desktop apps as well. Notifications are best used if you need multiple objects to listen for an event, or in some cases, where two view controllers are far apart in the overall scheme of controllers, it's difficult to have one view controller set itself as the delegate of the other.