HI all ,
I need a functionality by which i can restrict user when he is using my app he cann't take the screenshot of the application .as he exit from the app he can take snapshot in normal mode .Is there any thing by whcih we can restrict the user to stop to take the screen shot of the application.
Thanks
Balraj
...
When dealing with UITableViewControllers, is there a way to set the height of an individual table cell other than this method:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
Basically what I am trying to do is insert a block of text into a table cell that would have a variable height. T...
Hello,
I'm new to iphone development and Sorry if my question sounds stupid. Just wondering is it possible that I can buy songs from the itunes using my iphone application
I just saw some apps doing the same.
Any help will b greatly appreciated.
...
Hi all,
I'm running youtube video by providing the youtube url to webview which opens the youtube video and runs it in MPMoviePlayerController on click automatically.
It works well on simulator but on device it gives me following warning:
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/S...
In a code base I work with method valueForKey: is often used instead of objectForKey:. I have to optimize few methods that does this and was thinking if changing this to objectForKey: will introduce some performance gains?
...
I have a number of user reports saying that sometimes one of our games is running, but the screen is not updating. I've not been able to recreate this by playing the game, however when I purposefully set the EAGLContext I am using to nil I get the same effect.
Does anyone know if there are conditions when the EAGLContext gets lost on an...
I am creating a lot of webviews that must be compatible with both the iPhone 4 retina display and pre-iPhone 4 devices. It's a pain in the ass to export multiple files for each image.
Is there a script or utility to automate this process?
...
NSMutableArray * val;
val = [[NSMutableArray alloc] initWithCapacity:15];
/*int outlineWidth = barOutlineWidth;
int outlineHalfWidth = (outlineWidth > 1) ? outlineWidth * 0.5f : 0;
*/
for ( Bar * obj in values )
{
// calcualte the bar size
float value = [obj value];
float scale = ( value / maxValue );
// shift the bar to t...
Hello everyone,
I can't add .a files (static libraries) into my repository.
Why ?
Is there any way to "force" SVN to accept them (at least as static files...) ?
Thank you
...
Hi Guys,
I want to sync the file into iTunes, I do not have any idea of this how to implement. I want the file which i had need to sync with iTunes programmatically. Can you suggest any idea how to implement this.
Thank you very much in advance,
Madan Mohan.
...
Hi,
I'm an Objective C developer. The new announcement of the Flash for iphone got me
kinda worried. can some 1 explain how good is that package and if the need of objective C
developers/companies is gonna decrease ?? can you do really nice applications and games in
a much easyer way ? please advise me in that matter
Sincerely
...
is it possible to play video inside pdf
Thanks
...
I would find useful, in some cases, and under the user's permission, to block the device so only the running application can be accessed unless the usrer's password (pattern or whatever is used to unlock the session) is introduced.
I guess the mecanism should be something like: The application asks the os to do this, the OS asks the use...
i want to rotate the image while animating it..i am making analog clock in which i want to rotate the seconds hand continuously...(animating)..i am little sucessfull in it..for half of minute it rotate smoothly and after that it starts ticking...(as normal clock) why this happens..?
i am calling this function after every sec to rotate ...
Hey all,
How can I give a tableView cell background color the fade effect as soon as it appears. I know how to get a cell selected when the table view appears but the color persists for ever. I would like it to stay there for a while (2 seconds or whatever) and then fade away.
Someone said that I should use [tableView performSelector]...
I have an iPhone application which allows you to mix several samples with Audio Queue Services. When I developed this app for iPhone OS 3.0, I sometimes had a glitch where the audio would sound as if the treble had been muted. When I restarted the app it was gone.
Now, I had to do some fixes for iOS 4.0/4.1 so I opened up the project, b...
hi all,
i hv few images , and i am showing these images through for loop, so i am getting a value in mCurrentImageView , which indicates which image is currently shown up.
now i want to play audio on each image view, different audios.
for ex,
if(mCurrentImageView ==0) {
play "a"
}
if (mCurrentImageView ==1)
{
play "b"
}
....
someth...
For some better understanding on what happens “under the hood”, I would love to do a complete trace of any notifications happening within my application.
Naïve as I am, the first thing I tried was registering like this:
Somewhere in my app:
{
[...]
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(trac...
Hi,
In my iPhone app I have a background task that starts running when the app enters the background state.
The task runs fine and is structured in a loop like this:
run.
sleep for 5 min.
run.
sleep for 5 min.
etc.
For some reason, the task stops running after a certain amount of time... say half an hour to an hour.
Can anyone help ...
Hi guys,
Is there any Python project/module working on a binary plist writer? I need one for a REST implementation I'm doing. I would like the server to send a HTTP REsponse containing a binary plist instead of json, for example. The server is Apache with mod_python and django installed. Considering adding bplist format alongside json a...