Category: iPad

iPadOS is a mobile operating system developed by Apple Inc. for its iPad line of tablet computers. It is a rebranded variant of iOS, the operating system used by Apple’s iPhones, renamed to reflect the diverging features of the two product lines, particularly the iPad’s multitasking capabilities and support for keyboard use. It was introduced as iPadOS 13 in 2019, reflecting its status as the successor to iOS 12 for the iPad, at the company’s 2019 Worldwide Developers Conference.[10] iPadOS was released to the public on September 24, 2019. The current public release is iPadOS 15.3, released on January 26, 2022.

  • Create local notification in Swift

    Create local notification in Swift

    Create local notification in Swift

    To create a local notification in Swift, you will need to use the UserNotifications framework. Here is an example of how to do this:

    import UserNotifications
    
    // Create the notification content
    let content = UNMutableNotificationContent()
    content.title = "Title of your notification"
    content.body = "Body of your notification"
    
    // Set the trigger for the notification
    let date = Date().addingTimeInterval(10) // 10 seconds from now
    let dateComponents = Calendar.current.dateComponents([.year, .month, .day, .hour, .minute, .second], from: date)
    let trigger = UNCalendarNotificationTrigger(dateMatching: dateComponents, repeats: false)
    
    // Create the request for the notification
    let request = UNNotificationRequest(identifier: "YourNotificationIdentifier", content: content, trigger: trigger)
    
    // Add the request to the notification center
    UNUserNotificationCenter.current().add(request) { (error) in
        if let error = error {
            print("Error adding notification request: \(error)")
        }
    }
    

    This code will create a notification that will be triggered 10 seconds from the time it is added to the notification center. When the notification is triggered, it will display the title and body that you set in the content object.

    Spread the love
  • iOS-iPadOS app store submission checklist and how to

    iOS-iPadOS app store submission checklist and how to

    When you are ready to submit your app to App Store for TestFlight or App Store you want to make sure few things are available to you.

    1. First you need a developer account or an Apple ID which has privilege to developer resources ask your Team Admin for more help.
    2. There are two websites one https://developer.apple.com/account/ for creating app bundle, certificates and another one https://appstoreconnect.apple.com where you create your App and upload its assets and binary.
    3. After login to https://appstoreconnect.apple.com create an app first.

    In this step you need few more information.

    4. After creating the app you can now go to app detail page where you will add more information.

    Click on the left sidebar Prepare for Submission and add following information

    Version Information

    • Promotional Text
    • Description
    • Keywords 
    • Support URL
    • Marketing URL (Optional)

    General App Information

    • Version
    • Copyright

    App Review Information

    If your app needs username and password to access then you need to give working username and password here.

    5. Go to App Information under General. Here you can set your app Localizable Information, app category(primary and secondary), app content rights and age rating. Finally there is a license agreement, usually you don’t have to edit it.

    6. Click on the Pricing and Availability link and set your app’s pricing, if it is free then you don’t have to do anything. Here also you can choose which app store your app will be available, usually you don’t have to do anything here.

    7. Set your app privacy information from App Privacy

    These are the main things you need to get your app on the app store besides a well tested binary you develop on your Xcode.

    Spread the love
  • iOS-iPadOS app icon sizes with sketch file

    DeviceIcon Size
    App Icons
    iPhone60×60 pt
    20×120 px @2x
    180×180 px @3x
    iPad Pro83.5×83.5 pt
    167×167 px @2x
    iPad, iPad mini76×76 pt
    152×152 px @2x
    App Store1024×1024 pt (1024×1024 px @1x)
    Device Spotlight icon size
    iPhone40×40 pt (120×120 px @3x)
    40×40 pt (80×80 px @2x)
    iPad Pro, iPad, iPad mini 40×40 pt (80×80 px @2x)
    Device Settings icon size
    iPhone29×29 pt (87×87 px @3x)
    29×29 pt (58×58 px @2x)
    iPad Pro, iPad, iPad mini29×29 pt (58×58 px @2x)
    Device Notification icon size
    iPhone20×20 pt (60×60 px @3x)
    20×20 pt (40×40 px @2x)
    iPad Pro, iPad, iPad mini20×20 pt (40×40 px @2x)

    Download sketch file

    Spread the love