-
Book Overview & Buying
-
Table Of Contents
RubyMotion iOS Development Essentials
Next, let's set up our RubyMotion project; it will include the information we have collected previously.
Entitlements are used during the code-signing part of the build process. Many applications require access to device features; Apple requires you to specify the entitlements if you want to access a specific device feature. This can be added in the Rakefile. The entitlement method in the Rakefile lets you specify the appropriate keys and values in the following way:
Motion::Project::App.setup do |app|
# ...
app.entitlements['keychain-access-groups'] = [
app.seed_id + '.' + app.identifier
]
endIn this example, if your application requires access to a keychain to store user credentials, you must send a request for keychain-access-groups by passing the application provisioning identifier and application identifier along with seed_id and the app identifier.
To provide the best experience to the users, iOS expects the presence...
Change the font size
Change margin width
Change background colour