Hi
I am using the gdata library in my iPhone app to search for some youtube videos. Now most of the videos come up fine but some videos are not compatible for playback with the iPhone. I am using a webview to embed the video.
In case of videos which cannot be played on the iPhone, they show up in the webview without a preview and just ...
Hi.
I've used NSMutableArray writeToFile for created a file(levels.txt) which contains the levels state on my game (level locked, unlocked or level done)
Level0: Done
Level1: Unlocked
Level2: Locked
...
Level8: Unlocked
...
The resulting file(XML) is in /Users//Library/Application Support/iPhone Simulator/4.0/Applications//Library/le...
I'm trying to make a paging UIScrollView display multiple pages at the same time, in effect, making the page size smaller than the scrollview's bounds. I've been googling for hours, but nobody seems to have a good solution.
I'm able to get the right effect visually by sizing the scrollview to the size I want one page to be, turning off...
sorry i am a new comer,i just want to know how we can make HTTP Client in iPhone,like java
we make HTTPClient like
httpclient = new DefaultHttpClient();
if(Settingdb.getLocation() != null && Settingdb.getLocation().length()
httppost = new HttpPost(Settingdb.getLocation());
i need this code in iPhone (obje...
Hi!,
I use macros to differ the versions but I can't force it to work properly. I used:
#ifdef _IPHONE_4_0
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
#else
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
#endif
and
#if __IPHONE_OS_VERSION_MAX_ALL...
i am trying to fetch 10 friends list using fbconnect my query is like this
NSString* fql = [NSString stringWithFormat:@"select uid from user where uid == %lld LIMIT 1,10", _session.uid];
NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
[FBRequest requestWithDelegate:self] call:@"facebook.friends.get" pa...
I'm able to pull information from a plist using:
nameTextField.text = [recipe objectForKey:NAME_KEY];
ingredientsText.text = [ingredients objectForKey:NAME_KEY];
I also have images in the plist [the names of the images, not the image data]
does anyone know how i would display an image in a similar manner?
thanks in advance.
...
I want to preserve previous drawing in drawRect (the system clears it down each time) and it seems that the way to go is to use a bitmap context and sure enough, this works except that now my colour is gone leaving only black and white instead.
Here is my "static" context
-(id)initWithCoder:(NSCoder *)aDecoder {
...
CGColorSpaceRef co...
I can't seem to find a way to have the console run (to show NSLog comments) in XCode 4. The normal method for the previous version of XCode does not work. Does anyone have an idea of how to accomplish this?
...
How to call finalize method in Obj-c for garbage collection?
...
Hi,
i'm creating a pdf reader with all the tipical functionalities: double tap zoom, zoom with the two fingers multiple touch, etc ...
I'm using the Instrument tool of xCode to detect memory leaks of my program, and i have a strange entry into my leaked blocks called UIDelayedAction and its size is 48 bytes. This leak appear only if i do...
hi i am new to iphone development. i need to store a buttontag value temporarily and use it in another view is there any method to do this pls help me
...
How much does active GPS drain the battery? Without the overhead of the gps navigator software. s
ay I want to sample the gps every 2 minutes and save it to a file. how much battery power will that cost me?
Will I get 10% shorter life? 20%? ..?
...
I am using below code for inserting data in the database. and i am inserting aprox 15000 records but after 245 records it throws the error "Unable to open database"
+(void)addGeoRegions:(const char *)query geoId:(int)geoId geoFatherId:(int)geoFatherId geoName:(NSString *)geoName
geoTypeRegionId:(NSString *)geoTypeRegionId geoZo...
Hi,
I am porting an iPhone app to Mac. On iPhone I use AVAudioPlayer for playing sounds, but it doesn't exist on Mac. What would be the Mac equivalent for playing audio (hopefully as simple as AVAudioPlayer so I can port my app easily)?
Additionally, are there any open source libraries / samples / wrappers available for playing music ...
Apple has introduced the possibility of deleting an app. Quoting the iTunes Connect guide:
If you have created an app in iTunes
Connect that you no longer need to see
or manage, you can delete it from your
iTunes Connect view. Deleting your app
will not allow you to re-use your SKU
or App Name and you will not be able
to ...
hi,
I have a question.
If i have a NSArray i can put into a NSDictionary?
If i can, how can do these?
Thanks
...
I need to be make the last of four components in my picker view be un affected by user interaction. I have tried putting a clear UIView in front of just that component and setting userInteractionEnabled to NO but it doesn't seem to work.
...
hi i am new to iPhone. what i need is display the name under selected image at imageview from grid but it displayed under gridview pls help me i tried this from one weak onwards plsssss plss help me this is my code
//
// CustomImagePicker.h
// CustomImagePicker
//
// Created by Ray Wenderlich on 1/27/10.
// Copyright 2010 Ray Wen...
I am getting a "Received memory warning. Level = 1" when I use UIImagePickerControllerSourceTypeCamera.
If i access the camera immediately after entering the application, I get "Received memory warning. Level=1" but when i select the camera option after accessing all the other functionality in the application, the app crashes while th...