Show / Hide Table of Contents

Class ISN_NSBundle

Apple uses bundles to represent apps, frameworks, plug-ins, and many other specific types of content. Bundles organize their contained resources into well-defined subdirectories, and bundle structures vary depending on the platform and the type of the bundle. By using a bundle object, you can access a bundle's resources without knowing the structure of the bundle. The bundle object provides a single interface for locating items, taking into account the bundle structure, user preferences, available localizations, and other relevant factors.

Inheritance
System.Object
ISN_NSBundle
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.Foundation
Assembly: cs.temp.dll.dll
Syntax
public class ISN_NSBundle

Properties

BuildInfo

Gets the information about current build

Declaration
public static ISN_NSBuildInfo BuildInfo { get; }
Property Value
Type Description
ISN_NSBuildInfo

DevelopmentLocalization

The localization for the development language. This property corresponds to the value in the CFBundleDevelopmentRegion key of the bundle’s property list (Info.plist).

Declaration
public string DevelopmentLocalization { get; }
Property Value
Type Description
System.String

IsRunningInAppStoreEnvironment

Gets a value indicating whether this application is running in AppStore environment.

Declaration
public static bool IsRunningInAppStoreEnvironment { get; }
Property Value
Type Description
System.Boolean

MainBundle

Returns the bundle object that contains the current executable.

The NSBundle object corresponding to the bundle directory that contains the current executable. This method may return a valid bundle object even for unbundled apps. It may also return nil if the bundle object could not be created, so always check the return value.

The main bundle lets you access the resources in the same directory as the currently running executable. For a running app, the main bundle offers access to the app’s bundle directory. For code running in a framework, the main bundle offers access to the framework’s bundle directory.

Declaration
public static ISN_NSBundle MainBundle { get; }
Property Value
Type Description
ISN_NSBundle

PreferredLocalization

language ID according to the user's language preferences and available localizations.

Declaration
public string PreferredLocalization { get; }
Property Value
Type Description
System.String
In This Article
Back to top Generated by DocFX