I don't understand it at all but NSTimer in my app definitely is running in background. I have a NSLog in method run by the timer and it is logging while it's in background. It's on iPhone 4 with iOS 4.2.1. I have declared location background support in Info.plist. I read the docs and many discussions here and elsewhere and it shouldn't be possible. Is it an iOS bug? Or undocumented feature? I don
Im developing an app that has to run in the background. It's a location based app, so it runs all the time, the OS doesn't kill it. It should send some info every 10 secs(just for debugging), I set a timer once its in the background. I set a breakpoint in the function that should be executed every 10 secs, which is never called, but if I pause the app and then continue the timer is called, and the
I'm making a benchmark App for test purposes ONLY. I am not intending this to go to the App Store. What I need is my NSTimer to continue running on the background using a UIBackgroundTaskIdentifier, save data to a Core Data db and finally push the data to a server (I'm using Parse), after a certain time interval, of course. So basically, I haven´t found any questions which apply to my specific cas
I'm looking for a way to get a background location update every n minutes in my iOS application. I'm using iOS 4.3 and the solution should work for non-jailbroken iPhones. I tried / considered following options: CLLocationManager startUpdatingLocation/startMonitoringSignificantLocationChanges: This works in the background as expected, based on the configured properties, but it seems not possible t
At some point in my app I have a highlighted UIButton (for example when a user has his finger on the button) and I need to change the background color while the button is highlighted (so while the finger of the user is still on the button). I tried the following: _button.backgroundColor = [UIColor redColor]; But it is not working. The color remains the same. I tried the same piece of code when the
UPDATE: This answer is 6 years old and very outdated, but it's still attracting votes and comments. Ever since iOS 6.0 you should be using the pageIndicatorTintColor and currentPageIndicatorTintColor properties on UIPageControl. ORIGINAL ANSWER: I ran into this problem today and decided to write my own simple replacement class. It's a sublassed UIView that uses Core Graphics to render the dots in
After iOS 7, the styleString approach no longer works. Two new alternatives are available. Firstly, TextKit; a powerful new layout engine. To change line spacing, set the UITextView's layout manager's delegate: textView.layoutManager.delegate = self; // you'll need to declare you implement the NSLayoutManagerDelegate protocol Then override this delegate method: - (CGFloat)layoutManager:(NSLayoutMa
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く