The Apple documentation on the MPMediaPlaylist class is pre-iOS4, so it definitively states that you cannot write new playlists to iTunes on the phone with the SDK. However, with the iOS4 update, users can create and save new playlists on the phone. Is this functionality offered to developers as well? If so, could someone point me to app...
I am testing an iAd app on an iPod touch. My iPod is connected to the internet. In all my testing, I have only received one callback to didFailToReceiveAdWithError.
Here is the relevant code:
#ifdef mAppHasAds
- (void)bannerViewDidLoadAd:(ADBannerView *)banner {
NSLog (@"Triangle ad");
bannerView.hidden = NO;
}
- (void)bann...
when i tap a button 2 images(image 1 and image 2(having ) are pop up now when i tap again i want to remove all but right now only button (i.e image2 in front) is removed but not image 1 and i can remove image1 only when image 2 is removed how to delete all in 2nd tap and then pop agian on 3rd tap
CODE
- (void)touchesBegan:(NSSet *)touc...
Hi,
I am trying to copy a couple of image files from my MainBundle/SampleImages folder to the application NSDocumentDirectory/Library folder, but am unable to do so. I have checked that the images are in .app/Mainbundle/SampleImages directory and I have also checked that the Library folder is being created in the NSDocumentsDirectory, ...
I'm on a Mac and would like to commit a file to svn but get an error that the parent folder is lock.
Description : Directory '/Developer/Projects/myappproject/trunk/targetfolder/myapp.app/.svn' containing working copy
admin area is missing
Status : 155005
File : subversion/libsvn_wc/lock.c, 947
I run a cleanup from trunk:
svn c...
I have a UIViewController (called AdjustViewController) that presents another UIViewController (called SourcePickerViewController) with a UIPickerView modally. I generate instances of the AdjustViewController and they in turn make a SourcePickerViewController. I make an NSDictionary and assign it and an integer to the AdjustViewControl...
Two hopefully minor questions regarding CoreData that I've been unable to find answers to:
1) I have a faulted object. Accessing an attribute as a property is not firing the fault, accessing the same property via KVC IS firing the fault. Any idea why?
i.e. object.title returns nil and object is still faulted, but [object valueForKey:@"...
We have the following:
iPhone native app, with login form that posts to:
A php script on remote web server which checks against MySQL user table.
For security, would it be best practice to use some two-way encryption to encrypt every request? including this initial login? otherwise the user and pass will simple be passed to the web a...
I've got a simple object "post" that has two NSMutableArrays as properties. One is for "image" objects and the other is for "video" objects. At some point in the lifecycle of "post", I ask it for a dictionary representation of itself.
NSMutableDictionary *postDict = [post getDictionary];
-(NSMutableDictionary *)getDictionary{
NS...
My iPhone (4) renders 1.8em the same way it renders 1.2em while 0.9em is waaaay smaller.
Any idea what would cause this? The sizes work perfectly in all desktop browsers - FF, Chrome, IE, Safari. The iPhone makes my app looks weird because the sizes are not honored.
Help?
...
i want to add 4 buttons in UINAV bar how to do that
should i make them in UINAVBAR controller or navItem or UIBarbutton???
any code will be appreciated
Thanks
...
Hi!
I am going to make something that very visually similar to iOS4 folders but it's not folders at all )))
For example, I have 4 labels on screen - see sketch. Screen splits, if user click on label. Other lebels going down and we can see some text between splited views. If user click once more - view back to "normal" state as before....
Hi all,
I am developing an application in which i have to create multi page PDF and email that pdf. The content which is to be converted to pdf contains text as well as some images. I have seen some posts regarding this but could not glean too much from it.Will be greatful if any one can guide in this.
Thanx,
Regards,
tek3
...
Assume there are unknown number of .html files include in the .app bundle, how can I get a list of filenames which matches *.html wildcard?
...
hi guys,
i'm new as an iphone developer, as a hobby i'm writting a small game (just for fun).
i would like to store the default configuration inside a xml file. I have the xml file, I know about how to parse the xml document, but.. what i do not know, and that's why i'm here is:
is there a way to say to Xcode: imagine this (xml) file ...
Running my app on device using leaks tells me that iAd is leaking a UIImageView (namely the ad). Does anyone know what this is about/how to fix it?![alt text][1]
screenshot of my instruments panel:
http://www.freeimagehosting.net/uploads/30446483e5.jpg
...
Rather than create a new app, I would like to hire a programmer to bridge multiple existing apps into one overall app. For example, a Fishing app that incorporated 3 already published apps from 3 different developers: Map, Compass, and Tide apps. Of course the venture and profits would be shared amongst all developers...but I would lik...
Hi All,
In my app in iPhone getting data from server through web services. When no internet connection is there on my device, it will get the data from localstorage. Suggest the best way to handle offline storage in iPhone app?
Sri
...
I can compile and install (on the iphone) several of the apps I've written.
I have 1 generic "*" certificate for developing any app. (It expires in 6 days)
I have individual "com.site.appName" for distributing each app.
But there's this 1 app, that just started giving:
warning: Application failed codesign verification.
The signat...
Like the Settings app, or a UITableCellStyleValue1?
I'm basically trying to replicate the tableviews in Settings.app, where you have a label and a textfield. I'm stuck trying to make the cells curved. How can I go about doing this?
Thanks!
...