Is there a way to catch remote push notification while the application is "running" in Background ?
I have implemented the delegate function didReceiveRemoteNotification, and would like it to catch the remote notification while the application is in Background in the new iPhone OS 4.0
The application is correctly in background, since i...
Hi,
I am new to XML parsing. I am parsing the following XML. There are tutorials for if XML has unique attributes but this XML has repeating attributes.
<?xml version="1.0" encoding="utf-8"?>
<start>
<Period periodType="A" fYear="2005" endCalYear="2005" endMonth="3">
<ConsEstimate type="High">
<ConsValue dateTy...
All,
Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone OS? I'm running xCode 3.2.2. and it only has iPhone OS 3.1.3 and I need to test on 3.1.2.
Thanks in advance
...
I have a situation where occasionally my -tableView: numberOfRowsInSection: method asks for the count of a deallocated NSArray. I'd like to be able to test for this array being deallocated in a way that's safe and doesn't make a call to a zombie.
My code currently looks like:
-(NSInteger)tableView:(UITableView *)table numberOfRowsInSec...
Hi all -
I have been working with Apple's iPhone CoreDateRecipes sample code to learn more about tableviews and core data. I have coded my own test app based off of that sample, and it works well except for one thing. When I choose a photo for the 'recipe', no matter if it is from the camera or the library, when I hit "Done" to leave e...
I have a UITableView and I charged it with data in viewDidAppear. and it run successfully.
The Problem is I should refresh the data of the UITableView frequently (every 300 seconds).
So I defined a timer and charged the UITableView's dataSource when the timer throws the event of finishing time interval (300 secs).
BUT Nothing change !!!...
My app has a main login/password screen where user enters credentials and submits the info to a web service. Once authenticated, web-service will also tell me what kind of user is loggin in. So user can be type "A", "B" or "C".
Now depending on kind of user I need to load different views (having functionalities) only that particular typ...
Hello all, reading #20 tutorial on Nehe and a question here about masking, I implemented masking using b/w image and opaque image, however the result is completely not what is expected (I'm using OpenGL ES 1 on iPhone, so can't use shaders).
Source+Mask=Result
As can be seen on the result picture what is white on mask isn't transparent ...
I have a fragment shader with the following:
const lowp float colors[8] = float[8]( // line 12
0,0,0,1,
1,0,0,1
);
but it fails to compile:
ERROR: 0:12: 'array of float' : array type not supported here in glsl < 120
ERROR: 0:12: 'array of float' : constructor not supported for type
ERROR: 0:15: 'array of float' : no matchin...
I want implement paging same as safari in iphone.When user touch below button of bottom then thaey shows total pages open so user can scroll wvery page.I want to implement this type of functionality.how it possible.Please advice me for this query.
Thanks in advance.
...
hey guys
i am creating an app that uses location-
everything works swimmingly except one thing-
when i come home my iphone connects to my local wifi network and instead of getting my location using the gps in the phone it tries to get it by figuring out where my wifi network is connected to- if i turn my wifi off it keeps an accurate ...
Hello,
I have a UIWebView which loads videos from an external server. The code seems to be fine since it works when I try to host my videos on another server.
Are there any changes since iOS 3.0 which the server didn't need to have? (Where it loaded without problems).
The easiest way to test it is to load the url in the inbuilt Safari....
Hi,
I have set up wowza on our company server and its working fine, serving m3u8 streams to iPhone 3G, QuickTime player, iPhone simulator etc. Any idea what might be preventing this stream to play on a jailbroken iPhone 3.1.3??
It doesn't give any error just shows up the file like a normal text file.
...
Hi All,
Apologies if this is a simple question but googling hasn't been able to help me.
I am planning to display 3 arrays of data in a Table View that has each array in a different section in the Table View.
Can any one provide me with a link to a good tutorial or sample code that could help me with this?
Once again I apologize if th...
i have a label(many labels in fact)now i want an image in the background of my label(same image) so that text writtenin my label is shown to user.I have to do it programatically....
It'll be great if someone can guide me.Thanks.
...
12.2N 109.2W
Given this location, how would I find a point on a mkmapkit map? Does it have to be converted to lat/long? Little bit lost about this...
...
I'm diving into iPhone development and I'm trying to get my head around gestures and the touch events. How can I measure how fast the user is moving their finger across the screen of an iOS device using the touche events (touchesBegan, touchesMoved, etc)?
Thanks so much in advance for your help!
...
Hi!
what's the equivalent of CPSchedulePowerUpAtDate on the iOS 4.0?
In iPhone OS 3.1.3 I could use it.
I'm getting this error:
dyld: lazy symbol binding failed: Symbol not found: _CPSchedulePowerUpAtDate
Referenced from: /Applications/AppABC.app/AppABC
Expected in: /System/Library/PrivateFrameworks/AppSupport.framework/App...
HI
I have created a chain of UIViews(like tableview cells) on a content view and each UIView has a button on it which(button) has a unique tag associated with it.
Now what I am doing is when the user taps a button a tableView gets loaded just below the view which contains the button which was tapped and the below UIViews gets shifted t...
Hi Guys.
I'm building an application where it loads contents off of the web to populate a TableView.
I would like to add some sort of loading indicator so that the screen won't just contain the blank table.
I was thinking about something like this:
I've been trying to look it up on documentation and Google, but to be honest don't k...