Reputation: 701
Basically I want to change the Display of UI that is currently looking as this.
Now, 1> In my application i'm just displaying two fields Username and Password and I want to remove Role and Role_name fields from the iphone settings as this values are inserted automatically through web service for the user according to user's email address. 2> How can I add version and push notification options in setting? Please help me with this need this info badly. I'm using xcode version 4.2.
Upvotes: 1
Views: 138
Reputation: 3982
If I understood well, you're using a settings bundle, aren't you?
I've never used settings bundles before but if so, you can remove Role and Role_name fields by deleting its entries int the plist file of the settings bundle.
Then you can add a new entry for the Version. To get it I always use
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]
but I'm not sure if this can be used with settings bundle. Finally, for push notifications, their settings are automatically managed by Settings -> Notifications so you don't have to worry about them in your settings bundle.
I hope this can help you but I believe there are other people who know these topics better than me ;)
Upvotes: 2