iphone - How to change the DisplayName of an iOS Application? -


i know there many answers related question, such like.

programmatically rename xcode project
renaming xcode 4 project , actual folder

etc.

but @ following code:

nsstring *plistpath = @"...../testingapi-info.plist"; nsmutabledictionary *dictionary = [[nsmutabledictionary alloc]initwithcontentsoffile:plistpath]; [dictionary setobject:@"mytestingapp" forkey:@"cfbundledisplayname"]; [dictionary writetofile:plistpath atomically:yes]; 

i changing name of apps icon above code,

enter image description here

changed name "mysuperapp => mytestingapp"

so, valid change using above code ? have fear of app rejection ?? want set changes through above code like, bundle identifier, bundle name..etc ?

is valid or not ?? using above code apple reject application or not ??

as rckoenes said correctly, won't work on device. bundle contents readonly, including info.plist. can not overwrite it.

to clarify: open info.plist file in xcode , rename whatever want. don't need code this. find yourprojectname-info.plist file within xcode project.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -